diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-05-31 09:24:01 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-05-31 09:24:01 +0000 |
commit | f7953f585a939ac810876fdc3c7c674d0f8357c3 (patch) | |
tree | be37c7fec905fa0ce4e8df76a0470e333ae328a2 | |
parent | 60f8dd151644aea0547d58bd59733b0466d01298 (diff) | |
download | portage-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.py | 1 |
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) |