projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60f8dd1
)
Fix TypeError: 'tuple' object does not support item assignment
author
Zac Medico
<zmedico@gentoo.org>
Sat, 31 May 2008 09:24:01 +0000
(09:24 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 31 May 2008 09:24:01 +0000
(09:24 -0000)
svn path=/main/trunk/; revision=10518
pym/portage/dep.py
patch
|
blob
|
history
diff --git
a/pym/portage/dep.py
b/pym/portage/dep.py
index b3c763f4a02391b72cbc6dede54497748dd87e04..df6bdfd3e2d39b9bd2f3963e7f0ad41216398362 100644
(file)
--- 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)