diff options
author | Tom Rondeau <trondeau@vt.edu> | 2012-09-06 12:01:23 -0400 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2012-09-06 12:01:23 -0400 |
commit | c9dc582402d2551ead29a60256fdf64a1d43534c (patch) | |
tree | 4e9fe56c173a8e080c84c4c113a5ac5c5f1c236c /grc/python/Port.py | |
parent | 1300d48af4752037feac4fae7c3c64187cc0a5a8 (diff) | |
parent | a4e2e8a9a2c8a6bbd6d676a17b0e2732e11af09f (diff) |
Merge branch 'master' into gr_log
Conflicts:
CMakeLists.txt
cmake/Modules/GrMiscUtils.cmake
docs/doxygen/other/build_guide.dox
gnuradio-core/CMakeLists.txt
gr-digital/lib/CMakeLists.txt
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 d0ef51b483..9f8b50d052 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: |