diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-11-13 06:49:06 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-11-13 06:49:06 +0000 |
commit | 2cc08debc72ad2318a5ce9c42aac962e1eb1491d (patch) | |
tree | c4b6370707d8c65948b1a9fc2a3839e2f440df57 /bin/emaint | |
parent | 285ce5d6248063fe9d515d84dc5105a8e729340b (diff) | |
download | portage-2cc08debc72ad2318a5ce9c42aac962e1eb1491d.tar.gz portage-2cc08debc72ad2318a5ce9c42aac962e1eb1491d.tar.bz2 portage-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-x | bin/emaint | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/emaint b/bin/emaint index 561d26719..054438148 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) |