diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-01-05 11:29:15 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-01-05 11:29:15 +0000 |
commit | 32967feb2a1d7f6ef4832a6714b08b6846c74df8 (patch) | |
tree | cee4e72c4732b3a17537279d652d7ee459e257b2 | |
parent | abf40a78476164665c0b4d9f19414f7d716a7c5c (diff) | |
download | portage-32967feb2a1d7f6ef4832a6714b08b6846c74df8.tar.gz portage-32967feb2a1d7f6ef4832a6714b08b6846c74df8.tar.bz2 portage-32967feb2a1d7f6ef4832a6714b08b6846c74df8.zip |
For python-2.3 compatibility, don't pass an iterable into dict.update().
svn path=/main/trunk/; revision=5464
-rw-r--r-- | pym/portage.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py index 322bd2534..c3cad4153 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -5137,7 +5137,8 @@ class vardbapi(dbapi): if pull_me: # pull any needed data and cache it aux_keys = list(pull_me) - mydata.update(izip(aux_keys, self._aux_get(mycpv, aux_keys))) + for k, v in izip(aux_keys, self._aux_get(mycpv, aux_keys)): + mydata[k] = v if not cache_valid: cache_data = {} for aux_key in self._aux_cache_keys: |