Forgot a litteral --> constant conversion in the last commit.

This commit is contained in:
Virgil Dupras 2011-01-29 11:20:19 +01:00
parent da41d07dae
commit e150b26cab
1 changed files with 1 additions and 1 deletions

View File

@ -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