summaryrefslogtreecommitdiff
path: root/grc/python/Connection.py
diff options
context:
space:
mode:
authorSebastian Koslowski <koslowski@kit.edu>2015-11-20 17:28:17 +0100
committerSebastian Koslowski <koslowski@kit.edu>2016-02-17 19:55:16 +0100
commit9f5ef34ac05de070a99fae07eb1a8087ba60a653 (patch)
tree44ab20b78404c94e85689b8511521e7456d58e3d /grc/python/Connection.py
parent64f3b70cf135a8641a0271ee27b431e05a8df97b (diff)
grc-refactor: move grc.base to grc.python.base
Diffstat (limited to 'grc/python/Connection.py')
-rw-r--r--grc/python/Connection.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/grc/python/Connection.py b/grc/python/Connection.py
index 822876a0ae..e5b4c2563b 100644
--- a/grc/python/Connection.py
+++ b/grc/python/Connection.py
@@ -17,15 +17,15 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
"""
-import Constants
-from .. base.Connection import Connection as _Connection
-from .. gui.Connection import Connection as _GUIConnection
+from . import Constants
-class Connection(_Connection, _GUIConnection):
+from .base.Connection import Connection as _Connection
- def __init__(self, **kwargs):
- _Connection.__init__(self, **kwargs)
- _GUIConnection.__init__(self)
+
+class Connection(_Connection):
+
+ def __init__(self, flow_graph, porta, portb):
+ _Connection.__init__(self, flow_graph, porta, portb)
def is_msg(self):
return self.get_source().get_type() == self.get_sink().get_type() == 'msg'