From f7953f585a939ac810876fdc3c7c674d0f8357c3 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 31 May 2008 09:24:01 +0000 Subject: [PATCH] Fix TypeError: 'tuple' object does not support item assignment svn path=/main/trunk/; revision=10518 --- pym/portage/dep.py | 1 + 1 file changed, 1 insertion(+) 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) -- 2.26.2