1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

py/tests/dcerpc_rpc: Py3 compat integer types

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <noel.power@suse.com>
This commit is contained in:
Douglas Bagnall 2018-10-28 10:40:12 +13:00 committed by Douglas Bagnall
parent aafe6bf96a
commit 9c2447e2d8

View File

@ -22,6 +22,7 @@ sys.path.insert(0, "bin/python")
import samba
import samba.tests
from samba.dcerpc import drsuapi
from samba.compat import integer_types
import talloc
talloc.enable_null_tracking()
@ -98,7 +99,7 @@ class RpcTests(object):
if isinstance(value, str):
# print "%s=\"%s\"" % (n, value)
pass
elif isinstance(value, int) or isinstance(value, long):
elif isinstance(value, integer_types):
# print "%s=%d" % (n, value)
pass
elif isinstance(value, type):