]> git.sur5r.net Git - u-boot/blobdiff - tools/patman/command.py
patman: Rename 'str' variable in EmailPatches()
[u-boot] / tools / patman / command.py
index d1f0ca505c07f389e3abe0d5e76405b27035f605..bebc495b5994e2bc7e5c3f7a856a24166581f42f 100644 (file)
@@ -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))