From 2c9079afda99349a8a5914c15d55d3d86a50eaca Mon Sep 17 00:00:00 2001 From: Sebastian Koslowski <koslowski@kit.edu> Date: Fri, 5 Dec 2014 11:52:02 +0100 Subject: grc: make Generator use gr_message domain --- grc/python/Connection.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'grc/python/Connection.py') diff --git a/grc/python/Connection.py b/grc/python/Connection.py index 86ec08cb53..0a6cf5fa46 100644 --- a/grc/python/Connection.py +++ b/grc/python/Connection.py @@ -18,7 +18,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA """ import Constants -from .. base.Constants import GR_MESSAGE_DOMAIN from .. base.Connection import Connection as _Connection from .. gui.Connection import Connection as _GUIConnection @@ -31,9 +30,6 @@ 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_domain() == self.get_sink().get_domain() == GR_MESSAGE_DOMAIN - def is_bus(self): return self.get_source().get_type() == self.get_sink().get_type() == 'bus' -- cgit v1.2.3