From: Zac Medico Date: Sun, 18 Oct 2009 03:56:32 +0000 (-0000) Subject: Fix WorldHandler to use the "selected" set. (trunk r14620) X-Git-Tag: v2.1.7.2~44 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=44ea42495e92571da9ec742a44f40834fd1adaa6;p=portage.git Fix WorldHandler to use the "selected" set. (trunk r14620) svn path=/main/branches/2.1.7/; revision=14648 --- diff --git a/bin/emaint b/bin/emaint index e6d75c0a6..9da3f4220 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