Remove unnecessary list() from previous commit.
authorZac Medico <zmedico@gentoo.org>
Sat, 7 Mar 2009 21:36:56 +0000 (21:36 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 7 Mar 2009 21:36:56 +0000 (21:36 -0000)
svn path=/main/trunk/; revision=12778

pym/portage/util.py

index c55da036604623db633255478d2676deb32ae5f6..5624b52868aaee82d7d3ef1be59391c03d2c249d 100644 (file)
@@ -1170,7 +1170,7 @@ class LazyItemsDict(dict):
                memo[id(self)] = result
                for k in self:
                        k_copy = deepcopy(k, memo)
-                       if k in list(self.lazy_items):
+                       if k in self.lazy_items:
                                lazy_item = self.lazy_items[k]
                                if lazy_item.singleton:
                                        dict.__setitem__(result, k_copy, deepcopy(self[k], memo))