patman: Make exception handling python 3.x safe
authorPaul Burton <paul.burton@imgtec.com>
Tue, 27 Sep 2016 15:03:51 +0000 (16:03 +0100)
committersjg <sjg@chromium.org>
Sun, 9 Oct 2016 15:30:32 +0000 (09:30 -0600)
commitac3fde9394ce90503930026c62ffd94bf7fa09fd
treeba4656e51f8ff8e318e688b2de629e73698a8e24
parenta920a17b2f418535870788ae81234dc6b8aa6661
patman: Make exception handling python 3.x safe

Syntax for exception handling is a little more strict in python 3.x.
Convert all uses to a form accepted by both python 2.x & python 3.x.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Acked-by: Simon Glass <sjg@chromium.org>
tools/patman/command.py
tools/patman/cros_subprocess.py
tools/patman/gitutil.py