commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 02/08: grc: fix port type resolution in pad


From: git
Subject: [Commit-gnuradio] [gnuradio] 02/08: grc: fix port type resolution in pad sink/source (when using Type=Wildcard)
Date: Thu, 26 Jan 2017 14:46:37 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch maint
in repository gnuradio.

commit d68a9d528210dfdf9ce5ead955cdfbb0a4ede32c
Author: Sebastian Koslowski <address@hidden>
Date:   Mon Jan 16 21:10:42 2017 +0100

    grc: fix port type resolution in pad sink/source (when using Type=Wildcard)
---
 grc/core/Port.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/grc/core/Port.py b/grc/core/Port.py
index 9114246..da1e016 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]