this time commit the file changes
[debian/gnuradio] / grc / python / Block.py
index 957fee18ef123aea408a7c5762c41a3121f22011..6693f6f86bbaa6d35a18ee611d34ce3a22bf8177 100644 (file)
@@ -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