From 95cc5f51d17066b6abea5dccce9713878efd106d Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 10 Oct 2009 01:58:52 +0000 Subject: 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 --- bin/emaint | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/emaint') 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) -- cgit v1.2.3-1-g7c22