]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - tools/patman/checkpatch.py
patman: Adjust command.Output() to raise an error by default
[people/ms/u-boot.git] / tools / patman / checkpatch.py
index 34a3bd22b08d274b665d2fcf4c47fd17629a92dc..3eef6de221062894d2a4c5551c2009e68fed7d00 100644 (file)
@@ -63,7 +63,8 @@ def CheckPatch(fname, verbose=False):
     result.problems = []
     chk = FindCheckPatch()
     item = {}
-    result.stdout = command.Output(chk, '--no-tree', fname)
+    result.stdout = command.Output(chk, '--no-tree', fname,
+                                   raise_on_error=False)
     #pipe = subprocess.Popen(cmd, stdout=subprocess.PIPE)
     #stdout, stderr = pipe.communicate()