diff options
-rw-r--r-- | pym/portage/sets/base.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pym/portage/sets/base.py b/pym/portage/sets/base.py index a143b8272..33850574d 100644 --- a/pym/portage/sets/base.py +++ b/pym/portage/sets/base.py @@ -109,8 +109,7 @@ class PackageSet(object): self._atommap.clear() atoms = self._atoms for a in atoms: - self._atommap.setdefault(a.cp, set()) - self._atommap[a.cp].add(a) + self._atommap.setdefault(a.cp, set()).add(a) # Not sure if this one should really be in PackageSet def findAtomForPackage(self, pkg): |