summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2018-06-15 14:29:42 +0100
committerAndrew Bartlett <abartlet@samba.org>2018-07-13 01:12:25 +0200
commit08c9ce41e91c5e68aa116e5b5b2bae97353f2fbc (patch)
tree532e1f9601983e9f06ed74c54b04cfaafbcb493c /source4
parent409ad5c0f07445ea7d12466b56fbfbccfe71c2d1 (diff)
downloadsamba-08c9ce41e91c5e68aa116e5b5b2bae97353f2fbc.tar.gz
s4/torture/drs/python: long is not used in py3
Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/drs/python/drs_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/drs/python/drs_base.py b/source4/torture/drs/python/drs_base.py
index 91b76b3c6aa..6405c990822 100644
--- a/source4/torture/drs/python/drs_base.py
+++ b/source4/torture/drs/python/drs_base.py
@@ -184,7 +184,7 @@ class DrsBaseTestCase(SambaToolCmdTest):
def _get_highest_hwm_utdv(self, ldb_conn):
res = ldb_conn.search("", scope=ldb.SCOPE_BASE, attrs=["highestCommittedUSN"])
hwm = drsuapi.DsReplicaHighWaterMark()
- hwm.tmp_highest_usn = long(res[0]["highestCommittedUSN"][0])
+ hwm.tmp_highest_usn = int(res[0]["highestCommittedUSN"][0])
hwm.reserved_usn = 0
hwm.highest_usn = hwm.tmp_highest_usn