diff options
author | Douglas Bagnall <douglas.bagnall@catalyst.net.nz> | 2018-02-14 10:36:22 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2018-02-15 00:18:30 +0100 |
commit | 5fbb47144328b6bd4e52369c904d81633e5fdb02 (patch) | |
tree | 02077164be74d2f24f78b7fd8b0bdbe87cb36095 /script/bisect-test.py | |
parent | 16e173ad2e52ed1140fd43cabdeec0bc4553f6d2 (diff) | |
download | samba-5fbb47144328b6bd4e52369c904d81633e5fdb02.tar.gz |
scripts/ python: convert 'except X, e' to 'except X as e'
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'script/bisect-test.py')
-rwxr-xr-x | script/bisect-test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/bisect-test.py b/script/bisect-test.py index e4daa8c2c12..a80baff936f 100755 --- a/script/bisect-test.py +++ b/script/bisect-test.py @@ -86,7 +86,7 @@ try: except KeyboardInterrupt: print("Cleaning up") cleanup() -except Exception, reason: +except Exception as reason: print("Failed bisect: %s" % reason) cleanup() |