summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rondeau2011-09-22 14:18:02 -0400
committerTom Rondeau2011-09-22 14:18:02 -0400
commit0a9233a7ab7f14a2056a494d4ad9f6c1e09988d0 (patch)
tree81d3abc270f71b26020e7a1a6105c65f5eb8294f
parentd44d733a5fc8dfc2700b26013c68ebc65a7ff8c3 (diff)
parenta209853b61970254a17e06a68849848850c60fe0 (diff)
downloadgnuradio-0a9233a7ab7f14a2056a494d4ad9f6c1e09988d0.tar.gz
gnuradio-0a9233a7ab7f14a2056a494d4ad9f6c1e09988d0.tar.bz2
gnuradio-0a9233a7ab7f14a2056a494d4ad9f6c1e09988d0.zip
Merge branch 'maint'
-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