summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/dep.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/portage/dep.py b/pym/portage/dep.py
index b3c763f4a..df6bdfd3e 100644
--- a/pym/portage/dep.py
+++ b/pym/portage/dep.py
@@ -603,6 +603,7 @@ def isvalidatom(atom, allow_blockers=False):
# "null" category is valid, missing category is not.
mycpv_cps = catpkgsplit(cpv.replace("null/", "cat/", 1))
if mycpv_cps:
+ mycpv_cps = list(mycpv_cps)
mycpv_cps[0] = "null"
if not mycpv_cps:
mycpv_cps = catpkgsplit(cpv)