From: Zac Medico Date: Sun, 15 Feb 2009 05:01:42 +0000 (-0000) Subject: Fix isvalidatom() logic from previous commit to avoid false positives. X-Git-Tag: v2.2_rc24~190 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=96af5ccb835e3fc1abe7dfa7c26f2dbe2763a843;p=portage.git Fix isvalidatom() logic from previous commit to avoid false positives. svn path=/main/trunk/; revision=12615 --- diff --git a/pym/portage/dep.py b/pym/portage/dep.py index 3388d8404..bde7f9c2e 100644 --- a/pym/portage/dep.py +++ b/pym/portage/dep.py @@ -795,7 +795,7 @@ def isvalidatom(atom, allow_blockers=False): 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)