summaryrefslogtreecommitdiff
path: root/grc/python/Port.py
diff options
context:
space:
mode:
authorBastian Bloessl <bastian.bloessl@uibk.ac.at>2013-08-17 17:10:30 +0200
committerSebastian Koslowski <koslowski@kit.edu>2013-11-29 12:37:12 +0100
commit303ff1703c832a87d6083dfe4632adacf11523be (patch)
tree81fa760318ca010fe19c9aa2ef70cc9d34377371 /grc/python/Port.py
parentef135d2907855691001a618ecfeb8d0a813aab39 (diff)
allow varying number of message ports
Diffstat (limited to 'grc/python/Port.py')
-rw-r--r--grc/python/Port.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/grc/python/Port.py b/grc/python/Port.py
index 247dbed3e6..c7b802a23c 100644
--- a/grc/python/Port.py
+++ b/grc/python/Port.py
@@ -92,7 +92,6 @@ class Port(_Port, _GUIPort):
"""
self._n = n
if n['type'] == 'msg': n['key'] = 'msg'
- if n['type'] == 'message': n['key'] = n['name']
if dir == 'source' and not n.find('key'):
n['key'] = str(block._source_count)
block._source_count += 1