Merge commit 'v3.3.0' into upstream
[debian/gnuradio] / grc / base / Platform.py
index 02d6d2319257e969c1b8b4f151b02556698df6ab..51a3b2f871eb824aea1fee2227201515a06e2dee 100644 (file)
@@ -146,7 +146,7 @@ class Platform(_Element):
 
        def is_platform(self): return True
 
-       def get_new_flow_graph(self): return self.FlowGraph(self)
+       def get_new_flow_graph(self): return self.FlowGraph(platform=self)
 
        def get_generator(self): return self._generator
 
@@ -171,6 +171,5 @@ class Platform(_Element):
        FlowGraph = _FlowGraph
        Connection = _Connection
        Block = _Block
-       Source = _Port
-       Sink = _Port
+       Port = _Port
        Param = _Param