Bug 3018: ImportGrdb: remove calls to keys() dictionary method where possible
svn: r12572
This commit is contained in:
@ -358,8 +358,8 @@ class DisplayChart(ManagedWindow.ManagedWindow):
|
||||
else:
|
||||
the_map[name] = 1
|
||||
|
||||
unsort_list = [ (the_map[item], item) for item in the_map.keys() ]
|
||||
unsort_list.sort(by_value)
|
||||
unsort_list = sorted([(d, k) for k,d in the_map.iteritems()],by_value)
|
||||
|
||||
sort_list = [ item[1] for item in unsort_list ]
|
||||
## Presently there's no Birth and Death. Instead there's Birth Date and
|
||||
## Birth Place, as well as Death Date and Death Place.
|
||||
|
Reference in New Issue
Block a user