diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-12-09 22:13:29 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-12-09 22:13:29 -0800 |
commit | b8a22d672a309976fcdc856269921a32414fdac5 (patch) | |
tree | 2ad6153d4e67a2c4c347e6bf06a8e10fbeb05fbd /bin/repoman | |
parent | 11a7448f1d5a0bfb38f8de9d66a8fa8d7118c877 (diff) | |
download | portage-b8a22d672a309976fcdc856269921a32414fdac5.tar.gz portage-b8a22d672a309976fcdc856269921a32414fdac5.tar.bz2 portage-b8a22d672a309976fcdc856269921a32414fdac5.zip |
config: make eprefix constructor parameter public
Diffstat (limited to 'bin/repoman')
-rwxr-xr-x | bin/repoman | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/repoman b/bin/repoman index 6ea15678d..24e8f77b6 100755 --- a/bin/repoman +++ b/bin/repoman @@ -96,7 +96,7 @@ os.umask(0o22) repoman_incrementals = tuple(x for x in \ portage.const.INCREMENTALS if x != 'ACCEPT_KEYWORDS') eprefix = portage.const.EPREFIX -repoman_settings = portage.config(local_config=False, _eprefix=eprefix) +repoman_settings = portage.config(local_config=False, eprefix=eprefix) repoman_settings.lock() if repoman_settings.get("NOCOLOR", "").lower() in ("yes", "true") or \ @@ -565,13 +565,13 @@ if options.mode == 'commit' and not options.pretend and not vcs: options.pretend = True # Ensure that PORTDIR_OVERLAY contains the repository corresponding to $PWD. -repoman_settings = portage.config(local_config=False, _eprefix=eprefix) +repoman_settings = portage.config(local_config=False, eprefix=eprefix) repoman_settings['PORTDIR_OVERLAY'] = "%s %s" % \ (repoman_settings.get('PORTDIR_OVERLAY', ''), portage._shell_quote(portdir_overlay)) # We have to call the config constructor again so # that config.repositories is initialized correctly. -repoman_settings = portage.config(local_config=False, _eprefix=eprefix, +repoman_settings = portage.config(local_config=False, eprefix=eprefix, env=dict(os.environ, PORTDIR_OVERLAY=repoman_settings['PORTDIR_OVERLAY'])) root = repoman_settings['EROOT'] @@ -2005,7 +2005,7 @@ for x in effective_scanlist: config_incrementals=repoman_incrementals, local_config=False, _unmatched_removal=options.unmatched_removal, - env=env, _eprefix=eprefix) + env=env, eprefix=eprefix) dep_settings.categories = repoman_settings.categories if options.without_mask: dep_settings._mask_manager = \ |