summaryrefslogtreecommitdiff
path: root/grc/core/Platform.py
diff options
context:
space:
mode:
authorSebastian Koslowski <koslowski@kit.edu>2016-07-31 21:13:17 +0200
committerSebastian Koslowski <koslowski@kit.edu>2016-08-03 21:44:41 +0200
commit52dadbf46f16b682348a6969a782ff64a129d9f8 (patch)
tree63b52fdb5bb611b8f94dc6097458743c7c86f07c /grc/core/Platform.py
parentab8ceb0c223c6521b112668df4580e93027e38e0 (diff)
grc: refactor: handle flowgraph and connection super init same as in block
Diffstat (limited to 'grc/core/Platform.py')
-rw-r--r--grc/core/Platform.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/core/Platform.py b/grc/core/Platform.py
index 2a8764ad0d..9956391055 100644
--- a/grc/core/Platform.py
+++ b/grc/core/Platform.py
@@ -326,7 +326,7 @@ class Platform(Element):
}
def get_new_flow_graph(self):
- return self.FlowGraph(platform=self)
+ return self.FlowGraph(parent=self)
def get_new_block(self, parent, key, **kwargs):
cls = self.block_classes.get(key, self.block_classes[None])