summaryrefslogtreecommitdiff
path: root/grc/python/Connection.py
diff options
context:
space:
mode:
authorTim O'Shea <tim.oshea753@gmail.com>2012-11-28 15:15:58 -0800
committerJohnathan Corgan <johnathan@corganlabs.com>2012-11-28 15:19:01 -0800
commit7fc857a18cdc47f333db56cfedd2a4ed1a8432a9 (patch)
treeba1a6bf29ac4dbaae6ae68fd00067fd3ca53b44a /grc/python/Connection.py
parent12e279660e7300f42cbe993f89c8ad5ef6a3ea0a (diff)
core: adding msg_connect, updating msg interface, adding symbolic block names
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.