diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2016-07-10 18:03:34 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2016-07-13 19:16:30 +0200 |
commit | e5d4167c79eff0e6c23ce6a07e44c546c9aa6103 (patch) | |
tree | f496860387be351acd34b436b67e1c73d4432d2c | |
parent | 6f1819194e8f826b25418270b843d54c4f3d0044 (diff) |
gentree.py: print some more error messages when spatch fails.
I saw some problems here, add more debug output.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rwxr-xr-x | gentree.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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] == '': |