diff options
author | Sebastian Koslowski <koslowski@kit.edu> | 2016-07-21 11:30:42 +0200 |
---|---|---|
committer | Sebastian Koslowski <koslowski@kit.edu> | 2016-07-29 15:45:08 +0200 |
commit | 6b99b6fded94ae1ed8421c624246362e7925fb08 (patch) | |
tree | b65ede7ccc1833714b97fb4036faa377a282a001 /grc/core/Port.py | |
parent | 980ab9d2b0455cd0a39730617435774df4af658b (diff) |
grc: refactor: replace get_enabled by prop
Diffstat (limited to 'grc/core/Port.py')
-rw-r--r-- | grc/core/Port.py | 2 |
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': |