Bug 3018: ImportGrdb: remove calls to keys() dictionary method where possible
svn: r12572
This commit is contained in:
@ -101,8 +101,7 @@ class GivenNameCloudGramplet(Gramplet):
|
||||
totals = {}
|
||||
for (count, givensubname) in cloud_names: # givensubname_sort:
|
||||
totals[count] = totals.get(count, 0) + 1
|
||||
sums = totals.keys()
|
||||
sums.sort()
|
||||
sums = sorted(totals)
|
||||
sums.reverse()
|
||||
total = 0
|
||||
include_greater_than = 0
|
||||
|
Reference in New Issue
Block a user