From: Zac Medico Date: Sat, 9 Aug 2008 08:06:30 +0000 (-0000) Subject: When calling dbaip.aux_get() inside depgraph._select_package(), only pull the X-Git-Tag: v2.2_rc7~24 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=387e5f3b40a217ec3d55ccc867e8d9da8479f78a;p=portage.git When calling dbaip.aux_get() inside depgraph._select_package(), only pull the keys that are cached. This avoids triggering useless cache pulls for INHERITED from the bindbapi. svn path=/main/trunk/; revision=11360 --- diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 4150ac6a9..4ce2af793 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -5380,8 +5380,7 @@ class depgraph(object): if pkg is None: calculated_use = False try: - metadata = izip(self._mydbapi_keys, - db.aux_get(cpv, self._mydbapi_keys)) + metadata = izip(db_keys, db.aux_get(cpv, db_keys)) except KeyError: continue pkg = Package(built=built, cpv=cpv,