summaryrefslogtreecommitdiff
path: root/grc/python/Port.py
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2013-03-26 13:28:35 -0400
committerTom Rondeau <trondeau@vt.edu>2013-03-26 13:28:35 -0400
commit2bb64d807e446d6e2fe21b29e0b69aad90b1180f (patch)
treea0c5c88dc227cfa2078c39b6160faaf543db1f2e /grc/python/Port.py
parent3476b6f37c28a1b22c8e4af0724f2c94199bcd82 (diff)
parent9a7c9b1ef88da5bbed515282c44fa60971e0a790 (diff)
Merge branch 'master' into next
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 0703d67627..d4afa6cf77 100644
--- a/grc/python/Port.py
+++ b/grc/python/Port.py
@@ -92,6 +92,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