1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-23 00:23:53 +03:00

samba python libs: 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>
This commit is contained in:
Douglas Bagnall
2018-02-14 10:18:36 +13:00
committed by Andrew Bartlett
parent a485ac3243
commit 4885937bf8
9 changed files with 32 additions and 32 deletions

View File

@@ -77,7 +77,7 @@ dsServiceName: CN=NTDS Settings,%s
-
""")
except Exception, estr:
except Exception as estr:
tmpdb.transaction_cancel()
raise LdifError("Failed to import %s: %s" % (ldif_file, estr))