* [gentoo-commits] portage r15327 - main/trunk/bin
@ 2010-02-09 3:02 Zac Medico (zmedico)
0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2010-02-09 3:02 UTC (permalink / raw
To: gentoo-commits
Author: zmedico
Date: 2010-02-09 03:02:40 +0000 (Tue, 09 Feb 2010)
New Revision: 15327
Modified:
main/trunk/bin/emaint
Log:
Skip atom validation in WorldHandler since WorldSelectedSet handles this
already, and use Atom.cp instead of dep_getkey().
Modified: main/trunk/bin/emaint
===================================================================
--- main/trunk/bin/emaint 2010-02-07 19:55:02 UTC (rev 15326)
+++ main/trunk/bin/emaint 2010-02-09 03:02:40 UTC (rev 15327)
@@ -51,7 +51,7 @@
if onProgress:
onProgress(maxval, 0)
for i, atom in enumerate(world_atoms):
- if not portage.isvalidatom(atom):
+ if not isinstance(atom, portage.dep.Atom):
if atom.startswith(SETPREFIX):
s = atom[len(SETPREFIX):]
if s in sets:
@@ -63,12 +63,11 @@
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(cp)[0] not in categories:
+ if portage.catsplit(atom.cp)[0] not in categories:
self.invalid_category.append(atom)
okay = False
if okay:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-02-09 3:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-09 3:02 [gentoo-commits] portage r15327 - main/trunk/bin Zac Medico (zmedico)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox