From 96af5ccb835e3fc1abe7dfa7c26f2dbe2763a843 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 15 Feb 2009 05:01:42 +0000 Subject: [PATCH] Fix isvalidatom() logic from previous commit to avoid false positives. svn path=/main/trunk/; revision=12615 --- pym/portage/dep.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.26.2