From bf2b36e8315873976fd42a5e7b79a2eb3290b6d8 Mon Sep 17 00:00:00 2001
From: Sebastian Koslowski <koslowski@kit.edu>
Date: Fri, 5 Feb 2016 15:20:35 +0100
Subject: grc: initialize attributes flow graph eval (fixes Bug #885)

---
 grc/python/FlowGraph.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'grc/python/FlowGraph.py')

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):
         """
-- 
cgit v1.2.3