Switched the python classes to inherit from the base and gui classes.
[debian/gnuradio] / grc / base / FlowGraph.py
index 990baf02935b99b68ea50b99f51169c0c3aa8d79..9252f3668b43a2b303dd03b506f019a4c9cbf8ec 100644 (file)
@@ -117,7 +117,7 @@ class FlowGraph(Element):
                @return the new connection
                """
                self.flag()
-               connection = self.get_parent().Connection(self, porta, portb)
+               connection = self.get_parent().Connection(flow_graph=self, porta=porta, portb=portb)
                self.get_elements().append(connection)
                return connection