projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d93059a
)
Initialize self._trg_cache.ec inside the GenCache constructor.
author
Zac Medico
<zmedico@gentoo.org>
Thu, 9 Apr 2009 17:40:05 +0000
(17:40 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 9 Apr 2009 17:40:05 +0000
(17:40 -0000)
svn path=/main/trunk/; revision=13307
bin/egencache
patch
|
blob
|
history
diff --git
a/bin/egencache
b/bin/egencache
index 47e4ea2c7b627129ba76f5e4d3cf7d288cef4c7f..89708ad71fc5698fd97707a8739e516fba178713 100755
(executable)
--- a/
bin/egencache
+++ b/
bin/egencache
@@
-133,6
+133,11
@@
class GenCache(object):
"metadata/cache", portage.auxdbkeys[:])
if rsync:
self._trg_cache.raise_stat_collision = True
+ try:
+ self._trg_cache.ec = \
+ portdb._repo_info[portdb.porttrees[0]].eclass_db
+ except AttributeError:
+ pass
self._existing_nodes = set()
def _metadata_callback(self, cpv, ebuild_path, repo_path, metadata):