commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 04/08: grc: initialize attributes flow grap


From: git
Subject: [Commit-gnuradio] [gnuradio] 04/08: grc: initialize attributes flow graph eval (fixes Bug #885)
Date: Fri, 5 Feb 2016 22:07:44 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch maint
in repository gnuradio.

commit bf2b36e8315873976fd42a5e7b79a2eb3290b6d8
Author: Sebastian Koslowski <address@hidden>
Date:   Fri Feb 5 15:20:35 2016 +0100

    grc: initialize attributes flow graph eval (fixes Bug #885)
---
 grc/python/FlowGraph.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/grc/python/FlowGraph.py b/grc/python/FlowGraph.py
index 686dae7..b2a1d27 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):
         """



reply via email to

[Prev in Thread] Current Thread [Next in Thread]