summaryrefslogtreecommitdiff
path: root/grc/python
diff options
context:
space:
mode:
authorTom Rondeau2013-03-26 13:27:29 -0400
committerTom Rondeau2013-03-26 13:27:29 -0400
commitce52bd370c0b13ed4de11df08168768dec327497 (patch)
tree3d6f9c768f93078b3b098db58feb13d3e2301f3c /grc/python
parentc928376d8b24e0a96bf0f39da9c2e55d9771c41a (diff)
downloadgnuradio-ce52bd370c0b13ed4de11df08168768dec327497.tar.gz
gnuradio-ce52bd370c0b13ed4de11df08168768dec327497.tar.bz2
gnuradio-ce52bd370c0b13ed4de11df08168768dec327497.zip
grc: fixes problem with order of defining message ports vs. data ports.
Diffstat (limited to 'grc/python')
-rw-r--r--grc/python/Port.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/grc/python/Port.py b/grc/python/Port.py
index 738a33ba7..9e9f5676e 100644
--- a/grc/python/Port.py
+++ b/grc/python/Port.py
@@ -90,6 +90,7 @@ 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