dsdb python tests: convert 'except X, (tuple)' to 'except X as e'
authorNoel Power <noel.power@suse.com>
Fri, 23 Feb 2018 14:34:23 +0000 (14:34 +0000)
committerDouglas Bagnall <dbagnall@samba.org>
Wed, 28 Feb 2018 22:01:41 +0000 (23:01 +0100)
commit0c31d387945ca579b8feb8a18b4aed2f9bcb7de8
tree407a06ed598adf8e5238715aeaec173df5e7f012
parent9f61bf115ef27f2a0fdc88304c74698b56653672
dsdb python tests: 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>
19 files changed:
source4/dsdb/tests/python/acl.py
source4/dsdb/tests/python/ad_dc_medley_performance.py
source4/dsdb/tests/python/deletetest.py
source4/dsdb/tests/python/dsdb_schema_info.py
source4/dsdb/tests/python/ldap.py
source4/dsdb/tests/python/ldap_schema.py
source4/dsdb/tests/python/ldap_syntaxes.py
source4/dsdb/tests/python/linked_attributes.py
source4/dsdb/tests/python/notification.py
source4/dsdb/tests/python/password_lockout.py
source4/dsdb/tests/python/password_lockout_base.py
source4/dsdb/tests/python/passwords.py
source4/dsdb/tests/python/rodc.py
source4/dsdb/tests/python/rodc_rwdc.py
source4/dsdb/tests/python/sam.py
source4/dsdb/tests/python/sec_descriptor.py
source4/dsdb/tests/python/tombstone_reanimation.py
source4/dsdb/tests/python/urgent_replication.py
source4/dsdb/tests/python/user_account_control.py