From 5b7bd9e10100e3d297c223cd9471bfc850f50f5c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 3 Jul 2007 01:24:54 +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. (trunk r7130:7133) svn path=/main/branches/2.1.2/; revision=7134 --- bin/emaint | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/emaint') 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: -- cgit v1.2.3-1-g7c22