git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08c9ce4
)
s4/torture/drs/python: xrange -> range for py2/py3 compat
author
Noel Power
<noel.power@suse.com>
Fri, 15 Jun 2018 14:13:56 +0000
(15:13 +0100)
committer
Andrew Bartlett
<abartlet@samba.org>
Thu, 12 Jul 2018 23:12:25 +0000
(
01:12
+0200)
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>
source4/torture/drs/python/drs_base.py
patch
|
blob
|
history
diff --git
a/source4/torture/drs/python/drs_base.py
b/source4/torture/drs/python/drs_base.py
index 6405c990822b4ad8d1aefe0c49fa947546f42e52..06300f57b0ea4fc4d28ed94e913007386c3c70d1 100644
(file)
--- 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
x
range(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