aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-08-30 00:16:50 -0700
committerZac Medico <zmedico@gentoo.org>2010-08-30 00:16:50 -0700
commit25d8427b3b29cbcee97279186983dae818495f8f (patch)
tree36e05fdb10b3fc418686f59010ae4133428f7884 /bin/emaint
parentAlways check if vardbapi._linkmap and vardbapi._plib_registry are (diff)
downloadportage-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-xbin/emaint4
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)