diff options
author | Sebastian Koslowski <koslowski@kit.edu> | 2016-02-10 21:35:45 +0100 |
---|---|---|
committer | Sebastian Koslowski <koslowski@kit.edu> | 2016-02-17 19:55:17 +0100 |
commit | 01afb64bda2fb4c93b0a4e9d3e37e7239ba47f26 (patch) | |
tree | f7976da072af7120893060c0e66afc1552bd9bda /grc/core/generator/Generator.py | |
parent | 9023d2ad1ad5d1704bbe7fe942e42156a1f273a4 (diff) |
grc-refactor: Platform.py fixes, FlowGraphProxy
Diffstat (limited to 'grc/core/generator/Generator.py')
-rw-r--r-- | grc/core/generator/Generator.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/grc/core/generator/Generator.py b/grc/core/generator/Generator.py index 4cb04bd4da..5ac8478471 100644 --- a/grc/core/generator/Generator.py +++ b/grc/core/generator/Generator.py @@ -28,6 +28,7 @@ from distutils.spawn import find_executable from Cheetah.Template import Template +from .FlowGraphProxy import FlowGraphProxy from .. import ParseXML from ..utils import expr_utils, odict from ..Constants import ( @@ -82,7 +83,7 @@ class TopBlockGenerator(object): flow_graph: the flow graph object file_path: the path to write the file to """ - self._flow_graph = flow_graph + self._flow_graph = FlowGraphProxy(flow_graph) self._generate_options = self._flow_graph.get_option('generate_options') self._mode = TOP_BLOCK_FILE_MODE dirname = self._dirname = os.path.dirname(file_path) |