1
0
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:
Noel Power
2018-05-28 16:22:25 +01:00
committed by Andrew Bartlett
parent a3bf30e3a7
commit 9650deee03
4 changed files with 8 additions and 8 deletions

View File

@ -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