summaryrefslogtreecommitdiff
path: root/grc/core/generator/Generator.py
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2016-12-10 14:40:44 -0800
committerJohnathan Corgan <johnathan@corganlabs.com>2016-12-10 14:40:44 -0800
commitfd1cc8076be1851da2514bb84c9f110843c19003 (patch)
treec4da0cd6cca23f6f84e2bff0b4b7c7cadfd6448e /grc/core/generator/Generator.py
parentd4a3e0267c32912f234f5c59fc567982958e96e8 (diff)
parent4713574c3d783ebac5ccb6e4c19b23764b41fbfb (diff)
Merge branch 'maint'
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 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