summaryrefslogtreecommitdiff
path: root/grc/core/FlowGraph.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/FlowGraph.py
parentab8ceb0c223c6521b112668df4580e93027e38e0 (diff)
grc: refactor: handle flowgraph and connection super init same as in block
Diffstat (limited to 'grc/core/FlowGraph.py')
-rw-r--r--grc/core/FlowGraph.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/grc/core/FlowGraph.py b/grc/core/FlowGraph.py
index 8246d86f44..18a5778015 100644
--- a/grc/core/FlowGraph.py
+++ b/grc/core/FlowGraph.py
@@ -40,17 +40,17 @@ class FlowGraph(Element):
is_flow_graph = True
- def __init__(self, platform):
+ def __init__(self, parent):
"""
Make a flow graph from the arguments.
Args:
- platform: a platforms with blocks and contrcutors
+ parent: a platforms with blocks and element factories
Returns:
the flow graph object
"""
- Element.__init__(self, parent=platform)
+ Element.__init__(self, parent)
self._timestamp = time.ctime()
self._options_block = self.parent_platform.get_new_block(self, 'options')