summaryrefslogtreecommitdiff
path: root/grc/python/Connection.py
diff options
context:
space:
mode:
authorSebastian Koslowski <koslowski@kit.edu>2014-12-02 22:20:46 +0100
committerSebastian Koslowski <koslowski@kit.edu>2014-12-02 22:41:53 +0100
commit30ff5da2bf36ebb98852f6be9c098447022818cd (patch)
tree8aa515bf9289ea12138fd59e709795c3464c3e75 /grc/python/Connection.py
parent8d579a42871b157a7e360ba89d0925d81950e021 (diff)
grc: add domain attribute to ports
Diffstat (limited to 'grc/python/Connection.py')
-rw-r--r--grc/python/Connection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/python/Connection.py b/grc/python/Connection.py
index 7f235b190b..dff98c66a4 100644
--- a/grc/python/Connection.py
+++ b/grc/python/Connection.py
@@ -42,8 +42,8 @@ class Connection(_Connection, _GUIConnection):
Validate the connections.
The ports must match in io size.
"""
- Element.validate(self)
source_size = Constants.TYPE_TO_SIZEOF[self.get_source().get_type()] * self.get_source().get_vlen()
sink_size = Constants.TYPE_TO_SIZEOF[self.get_sink().get_type()] * self.get_sink().get_vlen()
if source_size != sink_size:
self.add_error_message('Source IO size "%s" does not match sink IO size "%s".'%(source_size, sink_size))
+ _Connection.validate(self)