diff options
author | Björn Baumbach <bb@sernet.de> | 2018-03-15 18:32:31 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2018-03-16 09:46:16 +0100 |
commit | a27db0b61e40b6b503b53e3579867e227f1971b8 (patch) | |
tree | 6b805d88135665c8f4ab5134c3244c39d995f740 /python/samba/ms_schema.py | |
parent | 26e75cf661a4482291b4faafd90f50f200eac32c (diff) | |
download | samba-a27db0b61e40b6b503b53e3579867e227f1971b8.tar.gz |
ms_schema: fix python2.6 incompatibility
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13337
Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'python/samba/ms_schema.py')
-rw-r--r-- | python/samba/ms_schema.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/samba/ms_schema.py b/python/samba/ms_schema.py index a8c936300bf..53ec02da886 100644 --- a/python/samba/ms_schema.py +++ b/python/samba/ms_schema.py @@ -277,7 +277,7 @@ def __transform_entry(entry, objectClass): header.append(["objectGUID", str(uuid.uuid4()), False]) - entry = header + [x for x in entry if x[0].lower() not in {'dn', 'changetype', 'objectcategory'}] + entry = header + [x for x in entry if x[0].lower() not in set(['dn', 'changetype', 'objectcategory'])] return entry |