aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-07-03 00:14:37 +0000
committerZac Medico <zmedico@gentoo.org>2007-07-03 00:14:37 +0000
commitcea73571961481322ae79dce14294af2e1395534 (patch)
tree795eef007680b86ec7ce2c43c00adfecfc523888 /bin/emaint
parentPrefer asap_nodes more aggressively over any other nodes whenever possible. ... (diff)
downloadportage-cea73571961481322ae79dce14294af2e1395534.tar.gz
portage-cea73571961481322ae79dce14294af2e1395534.tar.bz2
portage-cea73571961481322ae79dce14294af2e1395534.zip
Clean up system and world set handling. For forward compatibility, the world file handling now allows the world file to contain arbitrary atoms such as slot atoms.
svn path=/main/trunk/; revision=7131
Diffstat (limited to 'bin/emaint')
-rwxr-xr-xbin/emaint3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/emaint b/bin/emaint
index d13827ba5..40abc9e0d 100755
--- a/bin/emaint
+++ b/bin/emaint
@@ -42,11 +42,12 @@ class WorldHandler(object):
if onProgress:
onProgress(maxval, i+1)
continue
+ cp = portage.dep_getkey(atom)
okay = True
if not vardb.match(atom):
self.not_installed.append(atom)
okay = False
- if portage.catsplit(atom)[0] not in categories:
+ if portage.catsplit(cp)[0] not in categories:
self.invalid_category.append(atom)
okay = False
if okay: