summaryrefslogtreecommitdiff
path: root/grc/python/Connection.py
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2015-01-13 12:48:16 -0800
committerJohnathan Corgan <johnathan@corganlabs.com>2015-01-13 12:48:16 -0800
commit885fd55189b3a7da21771ee546b27196b124996e (patch)
treefc4df7bc90c7ad5c774542c286aca21d17cb49ea /grc/python/Connection.py
parent1581681c8ad8b150c7b417eb2fef21ff27ba5942 (diff)
parent6c121388075c9d7624bef832a5dd835da73798cc (diff)
Merge branch 'maint'
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 0a6cf5fa46..822876a0ae 100644
--- a/grc/python/Connection.py
+++ b/grc/python/Connection.py
@@ -38,8 +38,8 @@ class Connection(_Connection, _GUIConnection):
Validate the connections.
The ports must match in io size.
"""
+ _Connection.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)