mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
python/samba: Py2|Py3 compat, fix more missed exception tuple issues
This commit is contained in:
committed by
Andrew Bartlett
parent
a3bf30e3a7
commit
9650deee03
@ -47,7 +47,7 @@ def check_runtime_error(runtime, val):
|
||||
if runtime is None:
|
||||
return False
|
||||
|
||||
err32 = uint32(runtime[0])
|
||||
err32 = uint32(runtime.args[0])
|
||||
if err32 == val:
|
||||
return True
|
||||
|
||||
|
Reference in New Issue
Block a user