tests/py/rodc_rwdc: Fix py2/py3 .next compat issues
authorNoel Power <noel.power@suse.com>
Thu, 1 Nov 2018 12:53:01 +0000 (12:53 +0000)
committerDouglas Bagnall <dbagnall@samba.org>
Fri, 2 Nov 2018 05:56:24 +0000 (06:56 +0100)
commit537a26d6d1d1c04456ec0f0b28f04a7de86af027
tree1953d71eb862d5bc92fd25c6cf07def5a6e8fd11
parent78f5b6e3999a0bf4a118df36a2aabcb696049792
tests/py/rodc_rwdc: Fix py2/py3 .next compat issues

Python 3 does not have .next(), which we rely on, change the
code slightly so it works in py2/py3 (using builtin next function)

Pair-programmed-with: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Autobuild-User(master): Douglas Bagnall <dbagnall@samba.org>
Autobuild-Date(master): Fri Nov  2 06:56:24 CET 2018 on sn-devel-144
source4/dsdb/tests/python/rodc_rwdc.py