samba_tool: Py2/Py3 compatability fix tuple assigment
authorNoel Power <noel.power@suse.com>
Fri, 4 May 2018 10:28:46 +0000 (11:28 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 12 May 2018 19:38:16 +0000 (21:38 +0200)
commit7399da0b44503d2b5fe3218f9b55c79eac4cefe4
treee0b06ad43abaa0db1a3c068a9b37d8f781538e0d
parent63648af515df6c62e44ebeaa81d73e49511d03bc
samba_tool: Py2/Py3 compatability fix tuple assigment

replace
    (foo, bar) = e
with
    (foo, bar) = e.args

while will run in with both python2 and python3

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/netcmd/__init__.py