summaryrefslogtreecommitdiff
path: root/grc/core/Port.py
diff options
context:
space:
mode:
authorSebastian Koslowski <koslowski@kit.edu>2016-07-27 22:24:15 +0200
committerSebastian Koslowski <koslowski@kit.edu>2016-08-08 20:36:48 +0200
commit5d4baf530af8ca843dcfe310af3bd34d4cf7c3ad (patch)
tree442efff724523e80939b4f90b888e9a108d4e3b0 /grc/core/Port.py
parent4542d4b94887db741a5db21cfc80f7690bac0add (diff)
grc: remove support for old msg queues
Diffstat (limited to 'grc/core/Port.py')
-rw-r--r--grc/core/Port.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/grc/core/Port.py b/grc/core/Port.py
index 0d9298fb05..41388df409 100644
--- a/grc/core/Port.py
+++ b/grc/core/Port.py
@@ -124,8 +124,6 @@ class Port(Element):
elif n['domain'] == Constants.GR_MESSAGE_DOMAIN:
n['key'] = n['name']
n['type'] = 'message' # For port color
- if n['type'] == 'msg':
- n['key'] = 'msg'
# Build the port
Element.__init__(self, parent)
@@ -159,12 +157,6 @@ class Port(Element):
self.add_error_message('Domain key "{}" is not registered.'.format(self.domain))
if not self.get_enabled_connections() and not self.get_optional():
self.add_error_message('Port is not connected.')
- # Message port logic
- if self.get_type() == 'msg':
- if self.get_nports():
- self.add_error_message('A port of type "msg" cannot have "nports" set.')
- if self.get_vlen() != 1:
- self.add_error_message('A port of type "msg" must have a "vlen" of 1.')
def rewrite(self):
"""