summaryrefslogtreecommitdiff
path: root/grc/python/Connection.py
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2012-11-29 15:44:07 -0800
committerJohnathan Corgan <johnathan@corganlabs.com>2012-11-29 15:44:07 -0800
commit16bed38aef25df384dca56143f298e081eac1972 (patch)
tree330045e04d51bae0faa1f3c25408bac9431b3eeb /grc/python/Connection.py
parente5046cdd23e3c6a9aa584ae353f56cb19861d358 (diff)
parent92cfb0240005675f4e7a55a81552f4c7a5128cd8 (diff)
Merge branch 'master' into next
Diffstat (limited to 'grc/python/Connection.py')
-rw-r--r--grc/python/Connection.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/grc/python/Connection.py b/grc/python/Connection.py
index 218baf0743..341dd2d821 100644
--- a/grc/python/Connection.py
+++ b/grc/python/Connection.py
@@ -31,6 +31,9 @@ class Connection(_Connection, _GUIConnection):
def is_msg(self):
return self.get_source().get_type() == self.get_sink().get_type() == 'msg'
+ def is_message(self):
+ return self.get_source().get_type() == self.get_sink().get_type() == 'message'
+
def validate(self):
"""
Validate the connections.