s4/scripting/bin: PY3 Fix exception tuple assignments.
authorNoel Power <noel.power@suse.com>
Fri, 28 Sep 2018 15:49:27 +0000 (16:49 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 23 Oct 2018 03:50:26 +0000 (05:50 +0200)
commit9ae5fd65a8cc5e08d318dff1773b04194115a039
tree3c187ed56dfec665f41d1878a229956a976eeb3e
parent4287d119b02defb3ae5b18d1f1c44be098537cba
s4/scripting/bin: PY3 Fix exception tuple assignments.

In Python3 to access the exception arguments you need to now use
Exception.args, in Python2 you could access these direcly with the
'except' declaration.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/scripting/bin/samba_spnupdate