summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/dep.py2
1 files changed, 1 insertions, 1 deletions
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)