Skip to content
Permalink
Browse files

Revert "Update py23 functions: cmp() and cmp= (seventh part)"

This reverts commit 121e008.
  • Loading branch information...
7omb committed Aug 6, 2019
1 parent 5e56c68 commit 1c66ea22df0d7ee9a33a7f6d7a038f3439415c04
Showing with 1 addition and 1 deletion.
  1. +1 −1 werk
2 werk
@@ -316,7 +316,7 @@ def main_list(args, format):
# in one class are orred. Multiple types are anded.
filters = {}

sort = lambda a, b: (a['date'] > b['date']) - (a['date'] < b['date'])
sort = lambda a, b: cmp(a['date'], b['date'])
reverse = False
for a in args:

0 comments on commit 1c66ea2

Please sign in to comment.
You can’t perform that action at this time.