projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abf40a7
)
For python-2.3 compatibility, don't pass an iterable into dict.update().
author
Zac Medico
<zmedico@gentoo.org>
Fri, 5 Jan 2007 11:29:15 +0000
(11:29 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 5 Jan 2007 11:29:15 +0000
(11:29 -0000)
svn path=/main/trunk/; revision=5464
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index 322bd2534a86dabb60cb673ed8eaeaf4a4ff1994..c3cad415321dcacd39ed9c3a3a0244430fc99488 100644
(file)
--- 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: