mirror of
https://github.com/samba-team/samba.git
synced 2025-12-18 08:23:51 +03:00
samba-tool: convert 'except X, e' to 'except X as e' for all X
This is needed for Python 3 and is compatible with python 2.6 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
278ac39384
commit
a485ac3243
@@ -84,7 +84,7 @@ class cmd_testparm(Command):
|
||||
|
||||
try:
|
||||
lp = sambaopts.get_loadparm()
|
||||
except RuntimeError, err:
|
||||
except RuntimeError as err:
|
||||
raise CommandError(err)
|
||||
|
||||
# We need this to force the output
|
||||
|
||||
Reference in New Issue
Block a user