diff options
author | Tom Rini <trini@konsulko.com> | 2018-08-03 10:08:13 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-08-03 10:08:13 -0400 |
commit | a30691a538b0894dfc0076150b8a3a7326b9e45a (patch) | |
tree | 2d12b0e66b9baa83199c74b5d9b392e09b529f79 /tools/patman/command.py | |
parent | a839c3641e4de98981695056eeeb2ec17ba1a4ab (diff) | |
parent | cee02e6ff422fdb8b543a8097b84a9682785f46d (diff) |
Merge git://git.denx.de/u-boot-dm
Diffstat (limited to 'tools/patman/command.py')
-rw-r--r-- | tools/patman/command.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/patman/command.py b/tools/patman/command.py index 598bfdcd90b..14edcdaffd2 100644 --- a/tools/patman/command.py +++ b/tools/patman/command.py @@ -61,8 +61,12 @@ def RunPipe(pipe_list, infile=None, outfile=None, """ if test_result: if hasattr(test_result, '__call__'): - return test_result(pipe_list=pipe_list) - return test_result + result = test_result(pipe_list=pipe_list) + if result: + return result + else: + return test_result + # No result: fall through to normal processing result = CommandResult() last_pipe = None pipeline = list(pipe_list) |