samba python libs: convert 'except X, (tuple)' to 'except X as e'
authorNoel Power <noel.power@suse.com>
Fri, 23 Feb 2018 14:29:05 +0000 (14:29 +0000)
committerDouglas Bagnall <dbagnall@samba.org>
Wed, 28 Feb 2018 22:01:40 +0000 (23:01 +0100)
commit91a5941f173caf3959df24c7702226b0088eeb86
treee5a3867a8504d43add8d9e80038dd07647d13bda
parentefad273122348469d0fd1e0269dd74aa25857504
samba python libs: 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/dbchecker.py
python/samba/join.py
python/samba/kcc/__init__.py
python/samba/kcc/kcc_utils.py
python/samba/kcc/ldif_import_export.py
python/samba/provision/__init__.py
python/samba/remove_dc.py
python/samba/sites.py
python/samba/subnets.py
python/samba/upgrade.py