summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-05-31 09:24:01 +0000
committerZac Medico <zmedico@gentoo.org>2008-05-31 09:24:01 +0000
commitf7953f585a939ac810876fdc3c7c674d0f8357c3 (patch)
treebe37c7fec905fa0ce4e8df76a0470e333ae328a2
parent60f8dd151644aea0547d58bd59733b0466d01298 (diff)
downloadportage-f7953f585a939ac810876fdc3c7c674d0f8357c3.tar.gz
portage-f7953f585a939ac810876fdc3c7c674d0f8357c3.tar.bz2
portage-f7953f585a939ac810876fdc3c7c674d0f8357c3.zip
Fix TypeError: 'tuple' object does not support item assignment
svn path=/main/trunk/; revision=10518
-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)