projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6664c9
)
Make portdbapi.aux_get() cache more often. (trunk r8011)
author
Zac Medico
<zmedico@gentoo.org>
Fri, 12 Oct 2007 06:26:39 +0000
(06:26 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 12 Oct 2007 06:26:39 +0000
(06:26 -0000)
svn path=/main/branches/2.1.2/; revision=8069
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index b7ca0a4a433c79ea34096b887c3c1963384bf34c..e58188f7d11c6e69455c8eac325be40b46d6956d 100644
(file)
--- a/
pym/portage.py
+++ b/
pym/portage.py
@@
-6201,6
+6201,8
@@
class portdbapi(dbapi):
'input: "sys-apps/foo-1.0",["SLOT","DEPEND","HOMEPAGE"]'
'return: ["0",">=sys-libs/bar-1.0","http://www.foo.com"] or raise KeyError if error'
cache_me = False
+ if not mytree:
+ cache_me = True
if not mytree and not set(mylist).difference(self._aux_cache_keys):
aux_cache = self._aux_cache.get(mycpv)
if aux_cache is not None: