summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-07-17 21:08:46 +0000
committerZac Medico <zmedico@gentoo.org>2007-07-17 21:08:46 +0000
commite84c3512d8df54767db7ca7603387f85255933bd (patch)
tree36bcbebf504a637a7c4edf98416047781a1cd659
parent38f356669b5cb31e58318f398027e9955647f4c5 (diff)
downloadportage-e84c3512d8df54767db7ca7603387f85255933bd.tar.gz
portage-e84c3512d8df54767db7ca7603387f85255933bd.tar.bz2
portage-e84c3512d8df54767db7ca7603387f85255933bd.zip
Make PackageSet._updateAtomMap() clear the map in case something was removed.
svn path=/main/trunk/; revision=7301
-rw-r--r--pym/portage/sets/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/portage/sets/__init__.py b/pym/portage/sets/__init__.py
index 8d488fa93..d72c5c4f0 100644
--- a/pym/portage/sets/__init__.py
+++ b/pym/portage/sets/__init__.py
@@ -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())