samba-tool: convert 'except X, (tuple)' to 'except X as e'
authorNoel Power <noel.power@suse.com>
Fri, 23 Feb 2018 14:31:38 +0000 (14:31 +0000)
committerDouglas Bagnall <dbagnall@samba.org>
Wed, 28 Feb 2018 22:01:40 +0000 (23:01 +0100)
commit52729d35495db638c84caa8cc6f5ffdf0b670353
treef89573cd96e174f4972e59072ddd3ef7ef606fbd
parent91a5941f173caf3959df24c7702226b0088eeb86
samba-tool: 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>
python/samba/netcmd/domain.py
python/samba/netcmd/drs.py
python/samba/netcmd/fsmo.py
python/samba/netcmd/ldapcmp.py
python/samba/netcmd/user.py