summaryrefslogtreecommitdiffstats
path: root/bin/egencache
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-12-10 10:45:20 -0800
committerZac Medico <zmedico@gentoo.org>2011-12-10 10:45:20 -0800
commitc37d0c55ac3f70586afcad86636973de35eabe4e (patch)
treea14197b4b1a14e8fb6ffc3597a19ea23bef7cb52 /bin/egencache
parentcacbbe33b839737fecff2b81fc638bb40f08686c (diff)
downloadportage-c37d0c55ac3f70586afcad86636973de35eabe4e.tar.gz
portage-c37d0c55ac3f70586afcad86636973de35eabe4e.tar.bz2
portage-c37d0c55ac3f70586afcad86636973de35eabe4e.zip
Remove redundant eprefix in config constructors.
Since commit 11a7448f1d5a0bfb38f8de9d66a8fa8d7118c877, the config constructor uses portage.const.EPREFIX by default.
Diffstat (limited to 'bin/egencache')
-rwxr-xr-xbin/egencache6
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/egencache b/bin/egencache
index 6d18f66e5..7a87bb62c 100755
--- a/bin/egencache
+++ b/bin/egencache
@@ -841,10 +841,8 @@ def egencache_main(args):
if options.portdir is not None:
env['PORTDIR'] = options.portdir
- eprefix = portage.const.EPREFIX
-
settings = portage.config(config_root=config_root,
- local_config=False, env=env, eprefix=eprefix)
+ local_config=False, env=env)
default_opts = None
if not options.ignore_default_opts:
@@ -857,7 +855,7 @@ def egencache_main(args):
env['PORTAGE_DEPCACHEDIR'] = options.cache_dir
settings = portage.config(config_root=config_root,
- local_config=False, env=env, eprefix=eprefix)
+ local_config=False, env=env)
if not options.update and not options.update_use_local_desc \
and not options.update_changelogs: