From: Noel Power Date: Fri, 15 Jun 2018 15:26:28 +0000 (+0100) Subject: s4/torure/drs/python: Fix incorrect use of unicode which doesn't exist in py3 X-Git-Tag: ldb-1.5.0~284 X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=f59a20eb3b20b12fbf128b93c2a7a768be89e656;p=samba.git s4/torure/drs/python: Fix incorrect use of unicode which doesn't exist in py3 Signed-off-by: Noel Power Reviewed-by: Andreas Schneider Signed-off-by: Joe Guo Reviewed-by: Douglas Bagnall --- diff --git a/source4/torture/drs/python/repl_schema.py b/source4/torture/drs/python/repl_schema.py index 89346af724d..8c288e42d92 100644 --- a/source4/torture/drs/python/repl_schema.py +++ b/source4/torture/drs/python/repl_schema.py @@ -65,7 +65,7 @@ class DrsReplSchemaTestCase(drs_base.DrsBaseTestCase): req8.destination_dsa_guid = misc.GUID(dest_dsa) if dest_dsa else misc.GUID() req8.source_dsa_invocation_id = misc.GUID(invocation_id) req8.naming_context = drsuapi.DsReplicaObjectIdentifier() - req8.naming_context.dn = unicode(nc_dn_str) + req8.naming_context.dn = str(nc_dn_str) req8.highwatermark = drsuapi.DsReplicaHighWaterMark() req8.highwatermark.tmp_highest_usn = 0 req8.highwatermark.reserved_usn = 0