diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-08-30 00:16:50 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-08-30 00:16:50 -0700 |
commit | 25d8427b3b29cbcee97279186983dae818495f8f (patch) | |
tree | 36e05fdb10b3fc418686f59010ae4133428f7884 /bin/emaint | |
parent | 445f0d70d3624bc108b08da6d370bf194fcfc4ac (diff) | |
download | portage-25d8427b3b29cbcee97279186983dae818495f8f.tar.gz portage-25d8427b3b29cbcee97279186983dae818495f8f.tar.bz2 portage-25d8427b3b29cbcee97279186983dae818495f8f.zip |
Rename the portage.sets module to portage._sets since it will be useful
in the upcoming 2.1.9 branch which will not have sets support but will
still have the code in private and disabled form.
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 6a73c6fe2..5ff60422c 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["selected"]) maxval = len(world_atoms) |