From cea73571961481322ae79dce14294af2e1395534 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 3 Jul 2007 00:14:37 +0000 Subject: 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 --- bin/emaint | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/emaint') 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: -- cgit v1.2.3-1-g7c22