projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
640207f
)
portdbapi: don't convert _pkg_str to str
author
Zac Medico
<zmedico@gentoo.org>
Mon, 14 May 2012 00:46:44 +0000
(17:46 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 14 May 2012 00:46:44 +0000
(17:46 -0700)
pym/portage/dbapi/porttree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/porttree.py
b/pym/portage/dbapi/porttree.py
index 663b62dc3f753011f37f7634b0647241f56ac954..c5ee7707bcb5f0f12d9c2073d2bbace6cd608f86 100644
(file)
--- a/
pym/portage/dbapi/porttree.py
+++ b/
pym/portage/dbapi/porttree.py
@@
-869,7
+869,8
@@
class portdbapi(dbapi):
xcache_this_level = self.xcache.get(level)
if xcache_this_level is not None:
xcache_this_level[cache_key] = myval
- myval = myval[:]
+ if not isinstance(myval, _pkg_str):
+ myval = myval[:]
return myval