Make PackageSet._updateAtomMap() clear the map in case something was removed.
authorZac Medico <zmedico@gentoo.org>
Tue, 17 Jul 2007 21:08:46 +0000 (21:08 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 17 Jul 2007 21:08:46 +0000 (21:08 -0000)
svn path=/main/trunk/; revision=7301

pym/portage/sets/__init__.py

index 8d488fa9361bbca5a4834f1527e82f3364631b2c..d72c5c4f096fa2fbb008cb6590845107855fd7fa 100644 (file)
@@ -78,6 +78,7 @@ class PackageSet(object):
                        return ""
        
        def _updateAtomMap(self):
+               self._atommap.clear()
                for a in self._atoms:
                        cp = dep_getkey(a)
                        self._atommap.setdefault(cp, set())