summaryrefslogtreecommitdiffstats
path: root/bin/emaint
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-07-03 01:24:54 +0000
committerZac Medico <zmedico@gentoo.org>2007-07-03 01:24:54 +0000
commit5b7bd9e10100e3d297c223cd9471bfc850f50f5c (patch)
tree6d6ab489b317cd8b26ba845f004a054d9c144d6f /bin/emaint
parenteefe9620d16c1cc858dfeb7588678a93f5a9fc87 (diff)
downloadportage-5b7bd9e10100e3d297c223cd9471bfc850f50f5c.tar.gz
portage-5b7bd9e10100e3d297c223cd9471bfc850f50f5c.tar.bz2
portage-5b7bd9e10100e3d297c223cd9471bfc850f50f5c.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. (trunk r7130:7133)
svn path=/main/branches/2.1.2/; revision=7134
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 0353a52ce..90809ee4f 100755
--- a/bin/emaint
+++ b/bin/emaint
@@ -35,11 +35,12 @@ class WorldHandler(object):
if not portage.isvalidatom(atom):
self.invalid.append(atom)
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: