X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=grc%2Fpython%2FBlock.py;h=6693f6f86bbaa6d35a18ee611d34ce3a22bf8177;hb=0a73facce3ce4eba23676df5f22f222df319ed87;hp=957fee18ef123aea408a7c5762c41a3121f22011;hpb=0af1c2c7ab2ac28c9518c9348f8245326bd7ac46;p=debian%2Fgnuradio diff --git a/grc/python/Block.py b/grc/python/Block.py index 957fee18..6693f6f8 100644 --- a/grc/python/Block.py +++ b/grc/python/Block.py @@ -70,6 +70,8 @@ class Block(_Block): (self._sources, self.get_parent().get_parent().Source), (self._sinks, self.get_parent().get_parent().Sink), ): + #TODO #FIXME we want to filter out msg ports and run the regular code below this line + if any([port.get_type() == 'msg' for port in ports.values()]): continue #how many ports? num_ports = len(ports) #do nothing for 0 ports