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 c00da1163..2ac6ada99 100644
--- a/pym/portage_dep.py
+++ b/pym/portage_dep.py
@@ -394,7 +394,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