summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 da0bb6427..bf42d2ba8 100644
--- a/pym/portage/dep.py
+++ b/pym/portage/dep.py
@@ -480,7 +480,7 @@ def isvalidatom(atom, allow_blockers=False):
return 0
operator = get_operator(atom)
if operator:
- if operator[0] in "<>" and atom[-1] == "*":
+ if operator[0] in "<>" and remove_slot(atom).endswith("*"):
return 0
if mycpv_cps and mycpv_cps[0] != "null":
# >=cat/pkg-1.0