summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--grc/python/Block.py2
-rw-r--r--grc/python/Port.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/grc/python/Block.py b/grc/python/Block.py
index 74011e5f51..c8537b2caa 100644
--- a/grc/python/Block.py
+++ b/grc/python/Block.py
@@ -109,7 +109,7 @@ class Block(_Block, _GUIBlock):
# remove excess connections
for connection in port.get_connections():
self.get_parent().remove_element(connection)
- master_port.remove_duplicate(port)
+ master_port.remove_clone(port)
ports.remove(port)
# add more ports
for i in range(num_ports, nports):
diff --git a/grc/python/Port.py b/grc/python/Port.py
index 0b97f69cb5..ef60b33839 100644
--- a/grc/python/Port.py
+++ b/grc/python/Port.py
@@ -247,7 +247,7 @@ class Port(_Port, _GUIPort):
self._clones.append(port)
return port
- def remove_duplicate(self, port):
+ def remove_clone(self, port):
"""
Remove a cloned port from the internal list
Remove to index 0 of the master port name if there are no more clones