From 621888256807f36dea24ca354398a95ad8806dd0 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 28 Sep 2007 18:11:45 +0000 Subject: Bug #193548 - When emerge spawns find to search for config updates, show the find output if there is an error. svn path=/main/trunk/; revision=7871 --- pym/emerge/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py index 5fd783225..57ca82d33 100644 --- a/pym/emerge/__init__.py +++ b/pym/emerge/__init__.py @@ -4548,7 +4548,8 @@ def chk_updated_cfg_files(target_root, config_protect): a = commands.getstatusoutput(mycommand + \ " ! -iname '.*~' ! -iname '.*.bak' -print0") if a[0] != 0: - print >> sys.stderr, " " + bad("*")+ " error scanning '%s'" % x + print >> sys.stderr, " " + bad("*")+ \ + " error scanning '%s': %s" % (x, a[1]) else: files = a[1].split('\0') # split always produces an empty string as the last element -- cgit v1.2.3-1-g7c22