summaryrefslogtreecommitdiff
path: root/grc/core/Block.py
diff options
context:
space:
mode:
Diffstat (limited to 'grc/core/Block.py')
-rw-r--r--grc/core/Block.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/core/Block.py b/grc/core/Block.py
index 013f2cdbd8..db71f4a8c9 100644
--- a/grc/core/Block.py
+++ b/grc/core/Block.py
@@ -249,7 +249,7 @@ class Block(Element):
# Renumber non-message/message ports
domain_specific_port_index = collections.defaultdict(int)
for port in [p for p in ports if p.key.isdigit()]:
- domain = port.get_domain()
+ domain = port.domain
port.key = str(domain_specific_port_index[domain])
domain_specific_port_index[domain] += 1