summaryrefslogtreecommitdiffstats
path: root/bin/emaint
diff options
context:
space:
mode:
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: