summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2014-03-02 12:06:27 +0000
committerLars Wirzenius <liw@liw.fi>2014-03-02 12:06:27 +0000
commitb619655e5b0217864302180b09f50b7208b285ae (patch)
tree7b20f240ed14aa6b0de6752af6d2ac552c69d8ea
parent6fd018aea573b115aac31cb2ea3bad216345003b (diff)
downloadobnam-b619655e5b0217864302180b09f50b7208b285ae.tar.gz
Sort summary output by obnam version
-rwxr-xr-xobnam-benchmark-summary2
1 files changed, 1 insertions, 1 deletions
diff --git a/obnam-benchmark-summary b/obnam-benchmark-summary
index 0480c209..2a90bda4 100755
--- a/obnam-benchmark-summary
+++ b/obnam-benchmark-summary
@@ -112,7 +112,7 @@ class ObnamBenchmarkSummary(cliapp.Application):
widths = self.compute_column_widths(lines)
- for line in lines:
+ for line in sorted(lines):
cells = []
for i, cell in enumerate(line):
cells.append('%*s' % (widths[i], cell))