summaryrefslogtreecommitdiff
path: root/grc/core/Port.py
diff options
context:
space:
mode:
authorSebastian Koslowski <koslowski@kit.edu>2017-01-16 21:10:42 +0100
committerSebastian Koslowski <koslowski@kit.edu>2017-01-19 09:14:42 +0100
commitd68a9d528210dfdf9ce5ead955cdfbb0a4ede32c (patch)
tree2ebb75238cae1a906e5299f3a445af3d3a035b53 /grc/core/Port.py
parentaa461c535ef987d8e8805834d07f27ab51948a5f (diff)
grc: fix port type resolution in pad sink/source (when using Type=Wildcard)
Diffstat (limited to 'grc/core/Port.py')
-rw-r--r--grc/core/Port.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/core/Port.py b/grc/core/Port.py
index 9114246b2f..da1e016d7c 100644
--- a/grc/core/Port.py
+++ b/grc/core/Port.py
@@ -181,7 +181,7 @@ class Port(Element):
return Constants.TYPE_TO_SIZEOF.keys()
def is_type_empty(self):
- return not self._n['type']
+ return not self._n['type'] or not self.get_parent().resolve_dependencies(self._n['type'])
def validate(self):
Element.validate(self)