From fee61c57348d6964f61b27feef9d27b70889ed49 Mon Sep 17 00:00:00 2001 From: Noel Power Date: Fri, 15 Jun 2018 15:13:56 +0100 Subject: [PATCH] s4/torture/drs/python: xrange -> range for py2/py3 compat Signed-off-by: Noel Power Reviewed-by: Andreas Schneider Reviewed-by: Douglas Bagnall --- source4/torture/drs/python/drs_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/torture/drs/python/drs_base.py b/source4/torture/drs/python/drs_base.py index 6405c990822..06300f57b0e 100644 --- a/source4/torture/drs/python/drs_base.py +++ b/source4/torture/drs/python/drs_base.py @@ -317,7 +317,7 @@ class DrsBaseTestCase(SambaToolCmdTest): if uptodateness_vector is not None: uptodateness_vector_v1 = drsuapi.DsReplicaCursorCtrEx() cursors = [] - for i in xrange(0, uptodateness_vector.count): + for i in range(0, uptodateness_vector.count): c = uptodateness_vector.cursors[i] c1 = drsuapi.DsReplicaCursor() c1.source_dsa_invocation_id = c.source_dsa_invocation_id -- 2.34.1