summaryrefslogtreecommitdiff
path: root/grc
diff options
context:
space:
mode:
authorBastian Bloessl <bloessl@ccs-labs.org>2013-11-27 08:11:03 +0100
committerSebastian Koslowski <koslowski@kit.edu>2013-11-29 12:37:12 +0100
commitffbb9dd478b8a6053b8039618ccfaaa7b56099cf (patch)
treef4835cdeb981e3cb500a1fc7d8820966e1169a33 /grc
parent3b9dcad23430493e6e43deac76d31cec0d797f47 (diff)
grc: rename remove_duplicate -> remove_clone
Diffstat (limited to 'grc')
-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