From: Zac Medico Date: Sun, 10 Aug 2008 10:30:20 +0000 (-0000) Subject: Remove unnecessary dict.keys() call. X-Git-Tag: v2.2_rc7~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=12f920d9bd1d642e7739a6725c4b168ae000fd56;p=portage.git Remove unnecessary dict.keys() call. svn path=/main/trunk/; revision=11392 --- diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 0ce6534d1..cef86a284 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -343,7 +343,7 @@ class LinkageMap(object): if not self._libs: self.rebuild() # Iterate over all binaries within LinkageMap. - for obj in self._obj_properties.keys(): + for obj in self._obj_properties: rValue.setdefault(obj, self.findProviders(obj)) return rValue