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:
committed by
Andrew Bartlett
parent
a485ac3243
commit
4885937bf8
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user