From e150b26cab34c602865df18b77ff96965d5452d9 Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Sat, 29 Jan 2011 11:20:19 +0100 Subject: [PATCH] Forgot a litteral --> constant conversion in the last commit. --- core_se/data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core_se/data.py b/core_se/data.py index de8a42f7..50d9c782 100644 --- a/core_se/data.py +++ b/core_se/data.py @@ -62,7 +62,7 @@ def GetDupeSortKey(dupe, get_group, key, delta): if key == DUPECOUNT_COL: return 0 r = cmp_value(getattr(dupe, COLUMNS[key].attr, '')) - if delta and (key in {2, 4}): + if delta and (key in DELTA_COLUMNS): r -= cmp_value(getattr(get_group().ref, COLUMNS[key].attr, '')) return r