summaryrefslogtreecommitdiff
path: root/grc
diff options
context:
space:
mode:
authorTom Rondeau2011-09-23 14:07:35 -0400
committerTom Rondeau2011-09-23 14:07:35 -0400
commitebf5cda9fcfb49ee5ea23169283fb66627651b12 (patch)
tree066e18f1aa618e6d3ca59e4c25d6e56f117a622e /grc
parentccc98551c8f8a4f1c4ba52647037d9eb84a94b29 (diff)
parenta209853b61970254a17e06a68849848850c60fe0 (diff)
downloadgnuradio-ebf5cda9fcfb49ee5ea23169283fb66627651b12.tar.gz
gnuradio-ebf5cda9fcfb49ee5ea23169283fb66627651b12.tar.bz2
gnuradio-ebf5cda9fcfb49ee5ea23169283fb66627651b12.zip
Merge branch 'maint' of gnuradio.org:gnuradio into maint
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