diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-09-22 03:44:27 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-09-22 03:44:27 +0000 |
commit | d08d34e54a2c691ea56a4d25089e5cdb91eede93 (patch) | |
tree | 7fe005db5c6afca513e2a1f25454d93375203559 | |
parent | 9f9f51a5e321da65e32277dcdf9f943f157bd8c5 (diff) | |
download | portage-d08d34e54a2c691ea56a4d25089e5cdb91eede93.tar.gz portage-d08d34e54a2c691ea56a4d25089e5cdb91eede93.tar.bz2 portage-d08d34e54a2c691ea56a4d25089e5cdb91eede93.zip |
Fix 'RuntimeError: dictionary changed size during iteration' in
bindbapi.aux_update() with py3k.
svn path=/main/trunk/; revision=14373
-rw-r--r-- | pym/portage/dbapi/bintree.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/dbapi/bintree.py b/pym/portage/dbapi/bintree.py index 818dba9cf..79a6e5401 100644 --- 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)) |