mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
s4/dsdb/tests: py2/py3 compatability replace xrange with range
Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
committed by
Andrew Bartlett
parent
9c543376e4
commit
5f330840d0
@ -2536,7 +2536,7 @@ class SamTests(samba.tests.TestCase):
|
||||
delete_force(self.ldb, "cn=ldaptestcomputer,cn=computers," + self.base_dn)
|
||||
|
||||
def find_repl_meta_data(self, rpmd, attid):
|
||||
for i in xrange(0, rpmd.ctr.count):
|
||||
for i in range(0, rpmd.ctr.count):
|
||||
m = rpmd.ctr.array[i]
|
||||
if m.attid == attid:
|
||||
return m
|
||||
|
Reference in New Issue
Block a user