diff options
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 d8a894bb1..5eba9f24d 100644 --- a/grc/python/Connection.py +++ b/grc/python/Connection.py @@ -21,6 +21,9 @@ from .. base.Connection import Connection as _Connection class Connection(_Connection): + def is_msg(self): + return self.get_source().get_type() == self.get_sink().get_type() == 'msg' + def validate(self): """ Validate the connections. |