X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=tools%2Fpatman%2Fcommand.py;h=bebc495b5994e2bc7e5c3f7a856a24166581f42f;hb=0c19b4d180b66cb0e418a084ffcb187bdbc15db9;hp=d1f0ca505c07f389e3abe0d5e76405b27035f605;hpb=a2ed3f452dd1cf4982fe46d5111d200909786686;p=oweals%2Fu-boot.git diff --git a/tools/patman/command.py b/tools/patman/command.py index d1f0ca505c..bebc495b59 100644 --- a/tools/patman/command.py +++ b/tools/patman/command.py @@ -85,7 +85,7 @@ def RunPipe(pipe_list, infile=None, outfile=None, try: last_pipe = cros_subprocess.Popen(cmd, cwd=cwd, **kwargs) - except Exception, err: + except Exception as err: result.exception = err if raise_on_error: raise Exception("Error running '%s': %s" % (user_pipestr, str))