Bug 3018: remove calls to keys() dictionary method where possible
svn: r12562
This commit is contained in:
@@ -393,7 +393,7 @@ class ListModel(object):
|
||||
"""
|
||||
Selects the item associated with the pass information.
|
||||
"""
|
||||
if info in self.idmap.keys():
|
||||
if info in self.idmap:
|
||||
node = self.idmap[str(info)]
|
||||
self.selection.select_iter(node)
|
||||
|
||||
|
Reference in New Issue
Block a user