projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f9f51a
)
Fix 'RuntimeError: dictionary changed size during iteration' in
author
Zac Medico
<zmedico@gentoo.org>
Tue, 22 Sep 2009 03:44:27 +0000
(
03:44
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 22 Sep 2009 03:44:27 +0000
(
03:44
-0000)
bindbapi.aux_update() with py3k.
svn path=/main/trunk/; revision=14373
pym/portage/dbapi/bintree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/bintree.py
b/pym/portage/dbapi/bintree.py
index 818dba9cfeb65ed00a0d287542053b1c9e9a62bd..79a6e5401f175a2855b24a0994456c5140d3c8df 100644
(file)
--- a/
pym/portage/dbapi/bintree.py
+++ b/
pym/portage/dbapi/bintree.py
@@
-122,7
+122,7
@@
class bindbapi(fakedbapi):
encoding=_encodings['repo.content'], errors='backslashreplace')
mydata[k] = v
- for k, v in
mydata.items(
):
+ for k, v in
list(mydata.items()
):
if not v:
del mydata[k]
mytbz2.recompose_mem(portage.xpak.xpak_mem(mydata))