From: Zac Medico Date: Sat, 31 May 2008 09:24:01 +0000 (-0000) Subject: Fix TypeError: 'tuple' object does not support item assignment X-Git-Tag: v2.2_pre8~54 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f7953f585a939ac810876fdc3c7c674d0f8357c3;p=portage.git Fix TypeError: 'tuple' object does not support item assignment svn path=/main/trunk/; revision=10518 --- 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)