summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-04-30 07:02:27 +0000
committerZac Medico <zmedico@gentoo.org>2009-04-30 07:02:27 +0000
commitf8aca27dd24d223d45be9ed54f2cdcddd4f0feb3 (patch)
tree7096d533bbdc62c70718821dbd039185a95871d0 /bin
parentBug #264435 - Handle EAGAIN errors when writing to stdout, due to poorly (diff)
downloadportage-multirepo-f8aca27dd24d223d45be9ed54f2cdcddd4f0feb3.tar.gz
portage-multirepo-f8aca27dd24d223d45be9ed54f2cdcddd4f0feb3.tar.bz2
portage-multirepo-f8aca27dd24d223d45be9ed54f2cdcddd4f0feb3.zip
Initialize self._trg_cache.ec inside the GenCache constructor. (trunk r13307)
svn path=/main/branches/2.1.6/; revision=13478
Diffstat (limited to 'bin')
-rwxr-xr-xbin/egencache5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/egencache b/bin/egencache
index 47e4ea2c..89708ad7 100755
--- 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):