From 32967feb2a1d7f6ef4832a6714b08b6846c74df8 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 5 Jan 2007 11:29:15 +0000 Subject: For python-2.3 compatibility, don't pass an iterable into dict.update(). svn path=/main/trunk/; revision=5464 --- pym/portage.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- cgit v1.2.3-1-g7c22