Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: pym/_emerge/
Date: Tue, 22 Feb 2011 03:00:18
Message-Id: 969ba46944335b7a35337a8ec6d4d2245e728e13.zmedico@gentoo
1 commit: 969ba46944335b7a35337a8ec6d4d2245e728e13
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 22 02:59:24 2011 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 22 02:59:24 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=969ba469
7
8 chk_updated_cfg_files: don't display ._cfg0000_
9
10 ---
11 pym/_emerge/actions.py | 5 ++++-
12 1 files changed, 4 insertions(+), 1 deletions(-)
13
14 diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py
15 index 980ad75..8330c04 100644
16 --- a/pym/_emerge/actions.py
17 +++ b/pym/_emerge/actions.py
18 @@ -2948,7 +2948,10 @@ def chk_updated_cfg_files(eroot, config_protect):
19 level=logging.INFO, noiselevel=-1)
20 else: # it's a protected dir
21 if len(x[1]) == 1:
22 - writemsg_level("config file '%s' needs updating.\n" % x[1][0],
23 + head, tail = os.path.split(x[1][0])
24 + tail = tail[len("._cfg0000_"):]
25 + fpath = os.path.join(head, tail)
26 + writemsg_level("config file '%s' needs updating.\n" % fpath,
27 level=logging.INFO, noiselevel=-1)
28 else:
29 writemsg_level("%d config files in '%s' need updating.\n" % \