drs torture python: convert 'except X, (tuple)' to 'except X as e'
authorNoel Power <noel.power@suse.com>
Fri, 23 Feb 2018 14:35:40 +0000 (14:35 +0000)
committerDouglas Bagnall <dbagnall@samba.org>
Wed, 28 Feb 2018 22:01:41 +0000 (23:01 +0100)
commit9f61bf115ef27f2a0fdc88304c74698b56653672
treef4ec0d37c2fedf06c9904a6657ea283efdb74770
parent0de23d27d6b01f2501d076cc98f48ee72c48d50a
drs torture python: convert 'except X, (tuple)' to 'except X as e'

In addition to converting the except line another line is also added
for each except to extract the tuple contents.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/torture/drs/python/getnc_exop.py
source4/torture/drs/python/getnc_unpriv.py
source4/torture/drs/python/getncchanges.py
source4/torture/drs/python/repl_move.py
source4/torture/drs/python/repl_rodc.py
source4/torture/drs/python/repl_schema.py
source4/torture/drs/python/replica_sync.py
source4/torture/drs/python/ridalloc_exop.py