Bug 3018: ImportGrdb: remove calls to keys() dictionary method where possible

svn: r12572
This commit is contained in:
Gerald Britton
2009-05-26 20:48:09 +00:00
parent 51f65aa02f
commit 5eb7e18dc6
47 changed files with 134 additions and 199 deletions

View File

@@ -155,8 +155,7 @@ class StandardCustomSelector(object):
"""
Fill with data
"""
keys = self.mapping.keys()
keys.sort(self.by_value)
keys = sorted(self.mapping, self.by_value)
index = 0
for key in keys:
if key != self.custom_key: