Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: bin/
Date: Fri, 10 Feb 2012 23:14:19
Message-Id: b92ed5bbd7c90b532019e197a17ba2e698740759.zmedico@gentoo
1 commit: b92ed5bbd7c90b532019e197a17ba2e698740759
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 10 23:13:49 2012 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 10 23:13:49 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=b92ed5bb
7
8 repoman: remove redundant config constructor
9
10 ---
11 bin/repoman | 2 --
12 1 files changed, 0 insertions(+), 2 deletions(-)
13
14 diff --git a/bin/repoman b/bin/repoman
15 index c78b42f..7edeb65 100755
16 --- a/bin/repoman
17 +++ b/bin/repoman
18 @@ -96,7 +96,6 @@ os.umask(0o22)
19 repoman_incrementals = tuple(x for x in \
20 portage.const.INCREMENTALS if x != 'ACCEPT_KEYWORDS')
21 repoman_settings = portage.config(local_config=False)
22 -repoman_settings.lock()
23
24 if repoman_settings.get("NOCOLOR", "").lower() in ("yes", "true") or \
25 repoman_settings.get('TERM') == 'dumb' or \
26 @@ -559,7 +558,6 @@ if options.mode == 'commit' and not options.pretend and not vcs:
27 options.pretend = True
28
29 # Ensure that PORTDIR_OVERLAY contains the repository corresponding to $PWD.
30 -repoman_settings = portage.config(local_config=False)
31 repoman_settings['PORTDIR_OVERLAY'] = "%s %s" % \
32 (repoman_settings.get('PORTDIR_OVERLAY', ''),
33 portage._shell_quote(portdir_overlay))