diff options
author | Johnathan Corgan <johnathan@corganlabs.com> | 2016-12-10 14:40:44 -0800 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2016-12-10 14:40:44 -0800 |
commit | fd1cc8076be1851da2514bb84c9f110843c19003 (patch) | |
tree | c4da0cd6cca23f6f84e2bff0b4b7c7cadfd6448e /grc/core/generator/Generator.py | |
parent | d4a3e0267c32912f234f5c59fc567982958e96e8 (diff) | |
parent | 4713574c3d783ebac5ccb6e4c19b23764b41fbfb (diff) |
Merge branch 'maint'
Diffstat (limited to 'grc/core/generator/Generator.py')
-rw-r--r-- | grc/core/generator/Generator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/core/generator/Generator.py b/grc/core/generator/Generator.py index 3062440814..1e43e379b9 100644 --- a/grc/core/generator/Generator.py +++ b/grc/core/generator/Generator.py @@ -249,7 +249,7 @@ class TopBlockGenerator(object): } # Build the template t = Template(open(FLOW_GRAPH_TEMPLATE, 'r').read(), namespace) - output.append((self.file_path, str(t))) + output.append((self.file_path, "\n".join(line.rstrip() for line in str(t).split("\n")))) return output |