From 969ba46944335b7a35337a8ec6d4d2245e728e13 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 21 Feb 2011 18:59:24 -0800 Subject: [PATCH] chk_updated_cfg_files: don't display ._cfg0000_ --- pym/_emerge/actions.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py index 980ad7563..8330c0484 100644 --- a/pym/_emerge/actions.py +++ b/pym/_emerge/actions.py @@ -2948,7 +2948,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" % \ -- 2.26.2