summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-11-13 06:49:06 +0000
committerZac Medico <zmedico@gentoo.org>2008-11-13 06:49:06 +0000
commit2cc08debc72ad2318a5ce9c42aac962e1eb1491d (patch)
treec4b6370707d8c65948b1a9fc2a3839e2f440df57 /bin/emaint
parentMake portage.sets private by renaming it to portage._sets. (diff)
downloadportage-multirepo-2cc08debc72ad2318a5ce9c42aac962e1eb1491d.tar.gz
portage-multirepo-2cc08debc72ad2318a5ce9c42aac962e1eb1491d.tar.bz2
portage-multirepo-2cc08debc72ad2318a5ce9c42aac962e1eb1491d.zip
Update all portage.sets references to point to the new location, and hardcode
the SetConfig constructor with a config for just system and world sets. svn path=/main/branches/2.1.6/; revision=11877
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 561d2671..05443814 100755
--- a/bin/emaint
+++ b/bin/emaint
@@ -27,7 +27,7 @@ class WorldHandler(object):
self.not_installed = []
self.invalid_category = []
self.okay = []
- from portage.sets import load_default_config
+ from portage._sets import load_default_config
setconfig = load_default_config(portage.settings,
portage.db[portage.settings["ROOT"]])
self._sets = setconfig.getSets()
@@ -39,7 +39,7 @@ class WorldHandler(object):
self.found = os.access(self.world_file, os.R_OK)
vardb = portage.db[myroot]["vartree"].dbapi
- from portage.sets import SETPREFIX
+ from portage._sets import SETPREFIX
sets = self._sets
world_atoms = list(sets["world"])
maxval = len(world_atoms)