projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
757a424
)
Make portdbapi.aux_get() cache more often.
author
Zac Medico
<zmedico@gentoo.org>
Tue, 9 Oct 2007 09:28:29 +0000
(09:28 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 9 Oct 2007 09:28:29 +0000
(09:28 -0000)
svn path=/main/trunk/; revision=8011
pym/portage/dbapi/porttree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/porttree.py
b/pym/portage/dbapi/porttree.py
index d6fd4a17213fb3c841baa657dd0dc4f8cb991fc8..91b5b488ee811d859468b0b28440271a9b843495 100644
(file)
--- a/
pym/portage/dbapi/porttree.py
+++ b/
pym/portage/dbapi/porttree.py
@@
-220,6
+220,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: