summaryrefslogtreecommitdiff
path: root/tools/patman/command.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/patman/command.py')
-rw-r--r--tools/patman/command.py2
1 files changed, 1 insertions, 1 deletions
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))