summaryrefslogtreecommitdiff
path: root/grc/python/Port.py
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2013-03-26 13:28:26 -0400
committerTom Rondeau <trondeau@vt.edu>2013-03-26 13:28:26 -0400
commit9a7c9b1ef88da5bbed515282c44fa60971e0a790 (patch)
treecbe1224d0b102844c5e65ec81eeca3026c39f81c /grc/python/Port.py
parenta8e278314730535225c577a0e73a94dc7fbee082 (diff)
parent71803b9ae55e688476f24637713a89ab6bd2cf17 (diff)
Merge branch 'maint'
Diffstat (limited to 'grc/python/Port.py')
-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 738a33ba72..9e9f5676ef 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