diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-02-21 18:59:24 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-02-21 19:13:51 -0800 |
commit | a3739e2ec16a29b7ffc17f76cbec00b40dd6ab46 (patch) | |
tree | 88965f6bf1d7a72191c6a1d63c9df64c09f886ae | |
parent | 6df6b530513109a28a558d31bb70616919c64b85 (diff) | |
download | portage-a3739e2ec16a29b7ffc17f76cbec00b40dd6ab46.tar.gz portage-a3739e2ec16a29b7ffc17f76cbec00b40dd6ab46.tar.bz2 portage-a3739e2ec16a29b7ffc17f76cbec00b40dd6ab46.zip |
chk_updated_cfg_files: don't display ._cfg0000_
-rw-r--r-- | pym/_emerge/actions.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py index 616995042..82cacdb4e 100644 --- a/pym/_emerge/actions.py +++ b/pym/_emerge/actions.py @@ -2927,7 +2927,10 @@ def chk_updated_cfg_files(eroot, config_protect): level=logging.INFO, noiselevel=-1) else: # it's a protected dir if len(x[1]) == 1: - writemsg_level("config file '%s' needs updating.\n" % x[1][0], + head, tail = os.path.split(x[1][0]) + tail = tail[len("._cfg0000_"):] + fpath = os.path.join(head, tail) + writemsg_level("config file '%s' needs updating.\n" % fpath, level=logging.INFO, noiselevel=-1) else: writemsg_level("%d config files in '%s' need updating.\n" % \ |