diff options
Diffstat (limited to 'grc/core/FlowGraph.py')
-rw-r--r-- | grc/core/FlowGraph.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/grc/core/FlowGraph.py b/grc/core/FlowGraph.py index 84ca180861..5ef776d6b2 100644 --- a/grc/core/FlowGraph.py +++ b/grc/core/FlowGraph.py @@ -216,7 +216,7 @@ class FlowGraph(Element): return elements def children(self): - return itertools.chain(self.iter_enabled_blocks(), self.connections) + return itertools.chain(self.blocks, self.connections) def rewrite(self): """ @@ -227,6 +227,7 @@ class FlowGraph(Element): def renew_namespace(self): namespace = {} + self.namespace.clear() # Load imports for expr in self.imports(): try: |