From b92ed5bbd7c90b532019e197a17ba2e698740759 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 10 Feb 2012 15:13:49 -0800 Subject: repoman: remove redundant config constructor --- bin/repoman | 2 -- 1 file changed, 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)) -- cgit v1.2.3-1-g7c22