From: Zac Medico Date: Fri, 10 Feb 2012 23:13:49 +0000 (-0800) Subject: repoman: remove redundant config constructor X-Git-Tag: v2.2.0_alpha86~19 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b92ed5bbd7c90b532019e197a17ba2e698740759;p=portage.git repoman: remove redundant config constructor --- 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))