summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-06-23 20:11:24 +0000
committerZac Medico <zmedico@gentoo.org>2009-06-23 20:11:24 +0000
commitbfd637ebeb04f267ebca03e0f3df43fd933f5e07 (patch)
tree2f51e8fa81cc4ffab1752c23de3d0169e740fa75 /bin/egencache
parentMake the global "actions" variable a local inside parse_opts() since the (diff)
downloadportage-multirepo-bfd637ebeb04f267ebca03e0f3df43fd933f5e07.tar.gz
portage-multirepo-bfd637ebeb04f267ebca03e0f3df43fd933f5e07.tar.bz2
portage-multirepo-bfd637ebeb04f267ebca03e0f3df43fd933f5e07.zip
Fix import for split _emerge.MetadataRegen module.
svn path=/main/trunk/; revision=13675
Diffstat (limited to 'bin/egencache')
-rwxr-xr-xbin/egencache4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/egencache b/bin/egencache
index a9dc767b..ac0786fa 100755
--- a/bin/egencache
+++ b/bin/egencache
@@ -23,7 +23,7 @@ import logging
import optparse
import os
import portage
-import _emerge
+from _emerge.MetadataRegen import MetadataRegen
from portage.cache.cache_errors import CacheError, StatCollision
from portage.util import writemsg_level
from portage import cpv_getkey
@@ -124,7 +124,7 @@ class GenCache(object):
else:
self._cp_set = None
self._cp_missing = set()
- self._regen = _emerge.MetadataRegen(portdb, cp_iter=cp_iter,
+ self._regen = MetadataRegen(portdb, cp_iter=cp_iter,
consumer=self._metadata_callback,
max_jobs=max_jobs, max_load=max_load)
self.returncode = os.EX_OK