summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-11-10 06:48:24 +0000
committerZac Medico <zmedico@gentoo.org>2007-11-10 06:48:24 +0000
commit8379acb08643acb9c4e372911219fd3e9ae86e2a (patch)
tree2cd4937432a3217f7b0e067c2066b8dd36a9ad12
parent219ea251208f4ffa1e7eca9fd815c8c66c3499f5 (diff)
downloadportage-8379acb08643acb9c4e372911219fd3e9ae86e2a.tar.gz
portage-8379acb08643acb9c4e372911219fd3e9ae86e2a.tar.bz2
portage-8379acb08643acb9c4e372911219fd3e9ae86e2a.zip
Fix WorldSet.cleanPackage() so that it properly preserves
nonatoms (sets) in the world file. svn path=/main/trunk/; revision=8484
-rw-r--r--pym/portage/sets/files.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/portage/sets/files.py b/pym/portage/sets/files.py
index 5b6fe8838..c6a6f7430 100644
--- a/pym/portage/sets/files.py
+++ b/pym/portage/sets/files.py
@@ -170,6 +170,7 @@ class WorldSet(StaticFileSet):
#this doesn't match the package we're unmerging; keep it.
newworldlist.append(x)
+ newworldlist.extend(self._nonatoms)
self.replace(newworldlist)
self.unlock()