From 6b99b6fded94ae1ed8421c624246362e7925fb08 Mon Sep 17 00:00:00 2001
From: Sebastian Koslowski <koslowski@kit.edu>
Date: Thu, 21 Jul 2016 11:30:42 +0200
Subject: grc: refactor: replace get_enabled by prop

---
 grc/core/Port.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'grc/core/Port.py')

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':
-- 
cgit v1.2.3