Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:2.1.9 commit in: pym/_emerge/
Date: Tue, 22 Feb 2011 03:15:18
Message-Id: a3739e2ec16a29b7ffc17f76cbec00b40dd6ab46.zmedico@gentoo
1 commit: a3739e2ec16a29b7ffc17f76cbec00b40dd6ab46
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 03:13:51 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=a3739e2e
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 6169950..82cacdb 100644
16 --- a/pym/_emerge/actions.py
17 +++ b/pym/_emerge/actions.py
18 @@ -2927,7 +2927,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" % \