summaryrefslogtreecommitdiff
path: root/grc/python/Block.py
diff options
context:
space:
mode:
Diffstat (limited to 'grc/python/Block.py')
-rw-r--r--grc/python/Block.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/grc/python/Block.py b/grc/python/Block.py
index 957fee18e..6693f6f86 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