diff options
Diffstat (limited to 'grc/core/Connection.py')
-rw-r--r-- | grc/core/Connection.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/grc/core/Connection.py b/grc/core/Connection.py index 2309d159c8..52cba4257c 100644 --- a/grc/core/Connection.py +++ b/grc/core/Connection.py @@ -24,7 +24,7 @@ import collections from six.moves import range from . import Constants -from .Element import Element, lazyproperty +from .Element import Element, lazy_property class Connection(Element): @@ -131,11 +131,11 @@ class Connection(Element): """ return self.source_block.get_enabled() and self.sink_block.get_enabled() - @lazyproperty + @lazy_property def source_block(self): return self.source_port.parent_block - @lazyproperty + @lazy_property def sink_block(self): return self.sink_port.parent_block |