#
# GNU Radio is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
+# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# GNU Radio is distributed in the hope that it will be useful,
src_size = src_sig.sizeof_stream_item (src_endpoint.port)
dst_size = dst_sig.sizeof_stream_item (dst_endpoint.port)
if src_size != dst_size:
- raise ValueError, 'source and destination data sizes are different'
+ raise ValueError, (
+' '.join(('source and destination data sizes are different:',
+src_endpoint.block.name(),
+dst_endpoint.block.name())))
def _check_contiguity (self, m, sig, used_ports, dir):
used_ports.sort ()