projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e2d5b0
)
chk_updated_cfg_files: don't display ._cfg0000_
author
Zac Medico
<zmedico@gentoo.org>
Tue, 22 Feb 2011 02:59:24 +0000
(18:59 -0800)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 22 Feb 2011 02:59:24 +0000
(18:59 -0800)
pym/_emerge/actions.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/actions.py
b/pym/_emerge/actions.py
index 980ad75635017108316dea2010b0157ddf59396a..8330c04845d151e70bedf8ed39e8cf4196ff176b 100644
(file)
--- 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" % \