diff options
Diffstat (limited to 'grc/core/Port.py')
-rw-r--r-- | grc/core/Port.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/grc/core/Port.py b/grc/core/Port.py index 10d021b315..ef6a92c7b1 100644 --- a/grc/core/Port.py +++ b/grc/core/Port.py @@ -21,7 +21,7 @@ from __future__ import absolute_import from six.moves import filter -from .Element import Element +from .Element import Element, lazy_property from . import Constants @@ -323,11 +323,11 @@ class Port(Element): number = str(busses.index(self)) + '#' + str(len(self.get_associated_ports())) return self._name + number - @property + @lazy_property def is_sink(self): return self._dir == 'sink' - @property + @lazy_property def is_source(self): return self._dir == 'source' |