From 0a73facce3ce4eba23676df5f22f222df319ed87 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 13 Aug 2009 23:59:06 -0700 Subject: this time commit the file changes --- grc/python/Connection.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'grc/python/Connection.py') 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. -- cgit