diff options
author | Noel Power <noel.power@suse.com> | 2018-11-20 14:05:58 +0000 |
---|---|---|
committer | Noel Power <npower@samba.org> | 2018-12-10 10:38:23 +0100 |
commit | cc8a4eeb530ba9893acdaf272e1bd4cd018bdb64 (patch) | |
tree | 39c9d62ad60536880f88c5dafbec16741c030512 /source4 | |
parent | c83e1a6aea91f1886b87e657d5ec03221ef343c7 (diff) | |
download | samba-cc8a4eeb530ba9893acdaf272e1bd4cd018bdb64.tar.gz |
s4/dsdb/tests/python: PY3 port for samba4.ldap.linked_attributes
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4')
-rw-r--r-- | source4/dsdb/tests/python/linked_attributes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/tests/python/linked_attributes.py b/source4/dsdb/tests/python/linked_attributes.py index ee96278bfe6..7e94cd93726 100644 --- a/source4/dsdb/tests/python/linked_attributes.py +++ b/source4/dsdb/tests/python/linked_attributes.py @@ -138,7 +138,7 @@ class LATests(samba.tests.TestCase): return try: - results = list([x[attr] for x in res][0]) + results = [str(x) for x in res[0][attr]] except KeyError: self.fail("missing attr '%s' on %s" % (attr, obj)) |