* [gentoo-commits] portage r12615 - main/trunk/pym/portage
@ 2009-02-15 5:01 Zac Medico (zmedico)
0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2009-02-15 5:01 UTC (permalink / raw
To: gentoo-commits
Author: zmedico
Date: 2009-02-15 05:01:42 +0000 (Sun, 15 Feb 2009)
New Revision: 12615
Modified:
main/trunk/pym/portage/dep.py
Log:
Fix isvalidatom() logic from previous commit to avoid false positives.
Modified: main/trunk/pym/portage/dep.py
===================================================================
--- main/trunk/pym/portage/dep.py 2009-02-15 04:59:03 UTC (rev 12614)
+++ main/trunk/pym/portage/dep.py 2009-02-15 05:01:42 UTC (rev 12615)
@@ -795,7 +795,7 @@
mycpv_cps[0] = "null"
if not mycpv_cps:
mycpv_cps = catpkgsplit(cpv)
- if mycpv_cps is None:
+ if mycpv_cps is None and cpv != atom:
return 0
operator = get_operator(atom)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-02-15 5:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-15 5:01 [gentoo-commits] portage r12615 - main/trunk/pym/portage 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