aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/diff.py
diff options
context:
space:
mode:
Diffstat (limited to 'libbe/diff.py')
-rw-r--r--libbe/diff.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/diff.py b/libbe/diff.py
index f7ddfbe..40d53a6 100644
--- a/libbe/diff.py
+++ b/libbe/diff.py
@@ -464,7 +464,7 @@ class Diff (object):
removed.append(old_bug)
added.sort()
removed.sort()
- modified.sort(self._bug_modified_cmp)
+ modified.sort(key=functools.cmp_to_key(self._bug_modified_cmp))
return (added, modified, removed)
def _bug_modified_cmp(self, left, right):