summaryrefslogtreecommitdiff
path: root/grc/core/Port.py
diff options
context:
space:
mode:
authorSebastian Koslowski <koslowski@kit.edu>2016-07-21 11:30:42 +0200
committerSebastian Koslowski <koslowski@kit.edu>2016-07-29 15:45:08 +0200
commit6b99b6fded94ae1ed8421c624246362e7925fb08 (patch)
treeb65ede7ccc1833714b97fb4036faa377a282a001 /grc/core/Port.py
parent980ab9d2b0455cd0a39730617435774df4af658b (diff)
grc: refactor: replace get_enabled by prop
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 f7046ad8c8..0d9298fb05 100644
--- a/grc/core/Port.py
+++ b/grc/core/Port.py
@@ -332,7 +332,7 @@ class Port(Element):
Returns:
a list of connection objects
"""
- return [c for c in self.get_connections() if c.get_enabled()]
+ return [c for c in self.get_connections() if c.enabled]
def get_associated_ports(self):
if not self.get_type() == 'bus':