diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-07-11 23:18:17 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-07-11 23:18:17 +0300 |
commit | 9133fe5b4150f2abc48f53e734a99bc865e7f183 (patch) | |
tree | 5a10818745ea5cf638e4b2576bf314b82161e30b | |
parent | a60b9e3b04ebf83901ffc1343f35efb8b38a4577 (diff) | |
download | seivot-9133fe5b4150f2abc48f53e734a99bc865e7f183.tar.gz |
Sort seivot files in numeric and not textual order (for revision numbers).
-rwxr-xr-x | seivots-summary | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/seivots-summary b/seivots-summary index 1cb3fdf..c60a9f3 100755 --- a/seivots-summary +++ b/seivots-summary @@ -152,8 +152,8 @@ class SeivotsSummary(cliapp.Application): return cp def getkey(self, seivot): - return (seivot.get('meta', 'revision'), - seivot.get('meta', 'larch-revision')) + return (seivot.getint('meta', 'revision'), + seivot.getint('meta', 'larch-revision')) def get_size(self, seivot): return seivot.getint('0', 'backup.new-data') |