public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r11360 - main/trunk/pym/_emerge
@ 2008-08-09  8:06 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2008-08-09  8:06 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2008-08-09 08:06:30 +0000 (Sat, 09 Aug 2008)
New Revision: 11360

Modified:
   main/trunk/pym/_emerge/__init__.py
Log:
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.


Modified: main/trunk/pym/_emerge/__init__.py
===================================================================
--- main/trunk/pym/_emerge/__init__.py	2008-08-09 06:12:16 UTC (rev 11359)
+++ main/trunk/pym/_emerge/__init__.py	2008-08-09 08:06:30 UTC (rev 11360)
@@ -5380,8 +5380,7 @@
 					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,




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-08-09  8:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-09  8:06 [gentoo-commits] portage r11360 - main/trunk/pym/_emerge Zac Medico (zmedico)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox