summaryrefslogtreecommitdiffstats
path: root/bin/emaint
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-10-17 05:59:02 +0000
committerZac Medico <zmedico@gentoo.org>2009-10-17 05:59:02 +0000
commit5f59798cdc49eaa0441ca3eba9acdc30d9ae3681 (patch)
tree42695a7c90569e8fa9aea9f49ddc0cbfe7310266 /bin/emaint
parent6f6aaa3069283bd15dbefd5721404739fc69c7d0 (diff)
downloadportage-5f59798cdc49eaa0441ca3eba9acdc30d9ae3681.tar.gz
portage-5f59798cdc49eaa0441ca3eba9acdc30d9ae3681.tar.bz2
portage-5f59798cdc49eaa0441ca3eba9acdc30d9ae3681.zip
Fix WorldHandler to use the "selected" set.
svn path=/main/trunk/; revision=14620
Diffstat (limited to 'bin/emaint')
-rwxr-xr-xbin/emaint4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/emaint b/bin/emaint
index 2626036e9..594ac87cd 100755
--- a/bin/emaint
+++ b/bin/emaint
@@ -46,7 +46,7 @@ class WorldHandler(object):
from portage.sets import SETPREFIX
sets = self._sets
- world_atoms = list(sets["world"])
+ world_atoms = list(sets["selected"])
maxval = len(world_atoms)
if onProgress:
onProgress(maxval, 0)
@@ -88,7 +88,7 @@ class WorldHandler(object):
return errors
def fix(self, onProgress=None):
- world_set = self._sets["world"]
+ world_set = self._sets["selected"]
world_set.lock()
try:
world_set.load() # maybe it's changed on disk