summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2012-02-10 15:13:49 -0800
committerZac Medico <zmedico@gentoo.org>2012-02-10 15:13:49 -0800
commitb92ed5bbd7c90b532019e197a17ba2e698740759 (patch)
tree65c36ecec979d952f8ac53b3475d314a3279bd45 /bin
parent8384ee6a6116a9055601fe7729026af2024f4fa0 (diff)
downloadportage-b92ed5bbd7c90b532019e197a17ba2e698740759.tar.gz
portage-b92ed5bbd7c90b532019e197a17ba2e698740759.tar.bz2
portage-b92ed5bbd7c90b532019e197a17ba2e698740759.zip
repoman: remove redundant config constructor
Diffstat (limited to 'bin')
-rwxr-xr-xbin/repoman2
1 files changed, 0 insertions, 2 deletions
diff --git a/bin/repoman b/bin/repoman
index c78b42f9d..7edeb6572 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -96,7 +96,6 @@ os.umask(0o22)
repoman_incrementals = tuple(x for x in \
portage.const.INCREMENTALS if x != 'ACCEPT_KEYWORDS')
repoman_settings = portage.config(local_config=False)
-repoman_settings.lock()
if repoman_settings.get("NOCOLOR", "").lower() in ("yes", "true") or \
repoman_settings.get('TERM') == 'dumb' or \
@@ -559,7 +558,6 @@ 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)
repoman_settings['PORTDIR_OVERLAY'] = "%s %s" % \
(repoman_settings.get('PORTDIR_OVERLAY', ''),
portage._shell_quote(portdir_overlay))