diff options
author | Sebastian Koslowski <koslowski@kit.edu> | 2016-02-05 15:20:35 +0100 |
---|---|---|
committer | Sebastian Koslowski <koslowski@kit.edu> | 2016-02-05 15:20:35 +0100 |
commit | bf2b36e8315873976fd42a5e7b79a2eb3290b6d8 (patch) | |
tree | 3f13a34a5417ed56a1bbbe475ed0ecca3e7d87c4 /grc/python/FlowGraph.py | |
parent | 1025df04816539bc8d11ae29a6e3a10c200ada9b (diff) |
grc: initialize attributes flow graph eval (fixes Bug #885)
Diffstat (limited to 'grc/python/FlowGraph.py')
-rw-r--r-- | grc/python/FlowGraph.py | 5 |
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): """ |