Bug #193548 - When emerge spawns find to search for config updates,
authorZac Medico <zmedico@gentoo.org>
Fri, 28 Sep 2007 18:11:45 +0000 (18:11 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 28 Sep 2007 18:11:45 +0000 (18:11 -0000)
show the find output if there is an error.

svn path=/main/trunk/; revision=7871

pym/emerge/__init__.py

index 5fd783225f29a7ca5eb49cf858c28eac3d95d4f8..57ca82d3344dbfec26f56b305f0b7f343583bf37 100644 (file)
@@ -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