Remove unnecessary list() from previous commit. (trunk r12778)
authorZac Medico <zmedico@gentoo.org>
Wed, 11 Mar 2009 06:47:40 +0000 (06:47 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 11 Mar 2009 06:47:40 +0000 (06:47 -0000)
svn path=/main/branches/2.1.6/; revision=13022

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))