summaryrefslogtreecommitdiff
path: root/grc
diff options
context:
space:
mode:
authorTom Rondeau2011-09-22 14:18:14 -0400
committerTom Rondeau2011-09-22 14:18:14 -0400
commit4059269b4261c891923658a6faa0fa780888449b (patch)
tree8223986004b4a824efa004bbf1cb5aac2f037209 /grc
parent27941c31a357492ad901f260c32cd73d258f4d1b (diff)
parent0a9233a7ab7f14a2056a494d4ad9f6c1e09988d0 (diff)
downloadgnuradio-4059269b4261c891923658a6faa0fa780888449b.tar.gz
gnuradio-4059269b4261c891923658a6faa0fa780888449b.tar.bz2
gnuradio-4059269b4261c891923658a6faa0fa780888449b.zip
Merge branch 'master' into next
Diffstat (limited to 'grc')
-rw-r--r--grc/python/Block.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/python/Block.py b/grc/python/Block.py
index 14a5859e4..424706d68 100644
--- a/grc/python/Block.py
+++ b/grc/python/Block.py
@@ -108,7 +108,7 @@ class Block(_Block, _GUIBlock):
if nports == num_ports: continue
#remove excess ports and connections
if nports < num_ports:
- for key in map(str, range(index_first+nports, index_first+num_ports)):
+ for key in reversed(map(str, range(index_first+nports, index_first+num_ports))):
remove_port(get_ports, get_port, key)
continue
#add more ports