summaryrefslogtreecommitdiff
path: root/grc/core/Port.py
diff options
context:
space:
mode:
Diffstat (limited to 'grc/core/Port.py')
-rw-r--r--grc/core/Port.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/grc/core/Port.py b/grc/core/Port.py
index 28988cd51e..d0362ffd78 100644
--- a/grc/core/Port.py
+++ b/grc/core/Port.py
@@ -56,7 +56,7 @@ def _get_source_from_virtual_source_port(vsp, traversed=[]):
lambda b: b.is_virtual_sink(),
vsp.parent.parent.get_enabled_blocks(),
)),
- ))[0].get_sinks()[0]
+ ))[0].sinks[0]
), traversed + [vsp],
)
except:
@@ -94,7 +94,7 @@ def _get_sink_from_virtual_sink_port(vsp, traversed=[]):
lambda b: b.is_virtual_source(),
vsp.parent.parent.get_enabled_blocks(),
)),
- )[0].get_sources()[0]
+ )[0].sources[0]
), traversed + [vsp],
)
except: