summaryrefslogtreecommitdiff
path: root/grc/python/FlowGraph.py
diff options
context:
space:
mode:
authorSebastian Koslowski <koslowski@kit.edu>2016-02-05 15:20:35 +0100
committerSebastian Koslowski <koslowski@kit.edu>2016-02-05 15:20:35 +0100
commitbf2b36e8315873976fd42a5e7b79a2eb3290b6d8 (patch)
tree3f13a34a5417ed56a1bbbe475ed0ecca3e7d87c4 /grc/python/FlowGraph.py
parent1025df04816539bc8d11ae29a6e3a10c200ada9b (diff)
grc: initialize attributes flow graph eval (fixes Bug #885)
Diffstat (limited to 'grc/python/FlowGraph.py')
-rw-r--r--grc/python/FlowGraph.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/grc/python/FlowGraph.py b/grc/python/FlowGraph.py
index 686dae70fa..b2a1d27859 100644
--- a/grc/python/FlowGraph.py
+++ b/grc/python/FlowGraph.py
@@ -39,7 +39,10 @@ class FlowGraph(_FlowGraph, _GUIFlowGraph):
self.grc_file_path = ''
_FlowGraph.__init__(self, **kwargs)
_GUIFlowGraph.__init__(self)
- self._eval_cache = dict()
+ self.n = {}
+ self.n_hash = -1
+ self._renew_eval_ns = True
+ self._eval_cache = {}
def _eval(self, code, namespace, namespace_hash):
"""