diff options
author | Johnathan Corgan | 2012-05-31 17:07:00 -0700 |
---|---|---|
committer | Johnathan Corgan | 2012-05-31 17:07:00 -0700 |
commit | 8569580b4ef8c1eccf5bdb81af60787e5b6bb8e9 (patch) | |
tree | 9a1ff99b6c7beb1666b24023a42382e5f86a2746 /grc/python/Port.py | |
parent | 19fed24f0b915b9a5d78ad73057a50e2e202d780 (diff) | |
parent | b95b3ce4553442a97ce6ed19d907527ac0d90d96 (diff) | |
download | gnuradio-8569580b4ef8c1eccf5bdb81af60787e5b6bb8e9.tar.gz gnuradio-8569580b4ef8c1eccf5bdb81af60787e5b6bb8e9.tar.bz2 gnuradio-8569580b4ef8c1eccf5bdb81af60787e5b6bb8e9.zip |
Merge branch 'maint'
Diffstat (limited to 'grc/python/Port.py')
-rw-r--r-- | grc/python/Port.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/grc/python/Port.py b/grc/python/Port.py index d0ef51b48..9f8b50d05 100644 --- a/grc/python/Port.py +++ b/grc/python/Port.py @@ -139,6 +139,10 @@ class Port(_Port, _GUIPort): self._type = '' self._vlen = '' + def resolve_virtual_source(self): + if self.get_parent().is_virtual_sink(): return _get_source_from_virtual_sink_port(self) + if self.get_parent().is_virtual_source(): return _get_source_from_virtual_source_port(self) + def resolve_empty_type(self): if self.is_sink(): try: |