[PATCH 17/19] gentree.py: print some more error messages when spatch fails.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I saw some problems here, add more debug output.

Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx>
---
 gentree.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gentree.py b/gentree.py
index 772095f..e97ead0 100755
--- a/gentree.py
+++ b/gentree.py
@@ -601,7 +601,7 @@ def apply_patches(args, desc, source_dir, patch_src, target_dir, logwrite=lambda
         output = sprocess.communicate()[0]
         sprocess.wait()
         if sprocess.returncode != 0:
-            logwrite("Failed to process SmPL patch %s" % print_name)
+            logwrite("Failed to process SmPL patch %s with %i" % (print_name, sprocess.returncode))
             raise Exception('SmPL patch failed')
         output = output.split('\n')
         if output[-1] == '':
-- 
2.8.1

--
To unsubscribe from this list: send the line "unsubscribe backports" in



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux