summaryrefslogtreecommitdiff
path: root/grc/core/generator/Generator.py
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2016-12-10 14:41:40 -0800
committerJohnathan Corgan <johnathan@corganlabs.com>2016-12-10 14:41:40 -0800
commiteeb34f8275bdb2bbd9f5bffc40afa2dd2cc7ddae (patch)
tree0ee1ca7f92a5bea0f06d4a614ebab988b1cb1a2a /grc/core/generator/Generator.py
parent3b62e91fb8a7be8695e3cc362d899b242d3e97f5 (diff)
parent0ec18440b11abe865f463474d99cf59be18b207f (diff)
Merge branch 'master' into next
Diffstat (limited to 'grc/core/generator/Generator.py')
-rw-r--r--grc/core/generator/Generator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/core/generator/Generator.py b/grc/core/generator/Generator.py
index 33d50d6b19..66b6f3fcff 100644
--- a/grc/core/generator/Generator.py
+++ b/grc/core/generator/Generator.py
@@ -243,7 +243,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