diff options
author | Johnathan Corgan <johnathan@corganlabs.com> | 2012-11-29 15:44:07 -0800 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2012-11-29 15:44:07 -0800 |
commit | 16bed38aef25df384dca56143f298e081eac1972 (patch) | |
tree | 330045e04d51bae0faa1f3c25408bac9431b3eeb /grc/python/Connection.py | |
parent | e5046cdd23e3c6a9aa584ae353f56cb19861d358 (diff) | |
parent | 92cfb0240005675f4e7a55a81552f4c7a5128cd8 (diff) |
Merge branch 'master' into next
Diffstat (limited to 'grc/python/Connection.py')
-rw-r--r-- | grc/python/Connection.py | 3 |
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. |