diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-10-10 01:58:52 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-10-10 01:58:52 +0000 |
commit | 95cc5f51d17066b6abea5dccce9713878efd106d (patch) | |
tree | 97e60ca514c665fecf14f0989173f9ad5860d7ce /bin/emaint | |
parent | a712c083a80b6d3875c4675b912d3388b89fe855 (diff) | |
download | portage-95cc5f51d17066b6abea5dccce9713878efd106d.tar.gz portage-95cc5f51d17066b6abea5dccce9713878efd106d.tar.bz2 portage-95cc5f51d17066b6abea5dccce9713878efd106d.zip |
Fix _set module imports for rename, add hardcoded config for system and world,
and remove unused sets code.
svn path=/main/branches/2.1.7/; revision=14540
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 2626036e9..e6d75c0a6 100755 --- a/bin/emaint +++ b/bin/emaint @@ -32,7 +32,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() @@ -44,7 +44,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) |