diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-09-22 03:57:58 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-09-22 03:57:58 +0000 |
commit | 3ce239a8b5e1a7b5cf000931ca7650b02bc92cf8 (patch) | |
tree | 939278ab49960a8b8b1b92aff659289d0be80b4d | |
parent | c5a17c830abc97a60378f61a92632a49cd647321 (diff) | |
download | portage-3ce239a8b5e1a7b5cf000931ca7650b02bc92cf8.tar.gz portage-3ce239a8b5e1a7b5cf000931ca7650b02bc92cf8.tar.bz2 portage-3ce239a8b5e1a7b5cf000931ca7650b02bc92cf8.zip |
Fix another potential 'RuntimeError: dictionary changed size during iteration'
exception in _owners_db._populate() for py3k.
svn path=/main/trunk/; revision=14375
-rw-r--r-- | pym/portage/dbapi/vartree.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 8d0256c12..be69aab09 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -1515,7 +1515,7 @@ class vardbapi(dbapi): base_names = self._vardb._aux_cache["owners"]["base_names"] # Take inventory of all cached package hashes. - for name, hash_values in base_names.items(): + for name, hash_values in list(base_names.items()): if not isinstance(hash_values, dict): del base_names[name] continue |