summaryrefslogtreecommitdiff
path: root/summain
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-08-08 15:35:30 +0100
committerLars Wirzenius <liw@liw.fi>2011-08-08 15:35:30 +0100
commitf531ff47cf14f7bb7ef3d8c5345ffcea7bb0e02e (patch)
treeba97f94f445985cd157f5e89e30ca96c4891b71a /summain
parent0c57487ac13e4716382efaed7276ab47c14cf74f (diff)
downloadsummain-f531ff47cf14f7bb7ef3d8c5345ffcea7bb0e02e.tar.gz
Reformat long line.
Diffstat (limited to 'summain')
-rwxr-xr-xsummain4
1 files changed, 2 insertions, 2 deletions
diff --git a/summain b/summain
index 579c6d9..21e12f5 100755
--- a/summain
+++ b/summain
@@ -85,8 +85,8 @@ class GeneratorList(list):
class Json(OutputFormat):
def write(self):
- json.dump(GeneratorList(self.dictify(name, o) for name, o in self.objects),
- self.output, sort_keys=True, indent=1)
+ gen = GeneratorList(self.dictify(name, o) for name, o in self.objects)
+ json.dump(gen, self.output, sort_keys=True, indent=1)
self.output.write('\n')
def dictify(self, name, o):