From: Noel Power Date: Fri, 15 Jun 2018 15:46:12 +0000 (+0100) Subject: s4/torture/drs/python: py2/py3 porting needed for samba4.drs.getncchanges X-Git-Tag: tdb-1.3.17~1574 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=186b7addb470a9268fd7d43ac6e459fc2171bd76;p=thirdparty%2Fsamba.git s4/torture/drs/python: py2/py3 porting needed for samba4.drs.getncchanges Signed-off-by: Noel Power Reviewed-by: Andrew Bartlett --- diff --git a/source4/torture/drs/python/getncchanges.py b/source4/torture/drs/python/getncchanges.py index 097866d81fc..23925cf14bc 100644 --- a/source4/torture/drs/python/getncchanges.py +++ b/source4/torture/drs/python/getncchanges.py @@ -475,7 +475,7 @@ class DrsReplicaSyncIntegrityTestCase(drs_base.DrsBaseTestCase): # find the received link in the list and assert that the target and # source GUIDs match what's in the DB - for val in res[0][link_attr]: + for val in [str(val) for val in res[0][link_attr]]: # Work out the expected source and target GUIDs for the DB link target_dn = ldb.Dn(self.test_ldb_dc, val) targetGUID_blob = target_dn.get_extended_component("GUID")