summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorBjörn Baumbach <bb@sernet.de>2018-03-15 18:32:31 +0100
committerKarolin Seeger <kseeger@samba.org>2018-04-10 09:40:08 +0200
commit365569dfc70a45ff9ba4b3baf9e3ea7de66eff4e (patch)
treefab6900e707f9aebf7c5ee74f9d11d5adc723a3e /python
parent9230fe25287dd3ee53c9384f73f62b4e4ed8dd1e (diff)
downloadsamba-365569dfc70a45ff9ba4b3baf9e3ea7de66eff4e.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> (cherry picked from commit a27db0b61e40b6b503b53e3579867e227f1971b8)
Diffstat (limited to 'python')
-rw-r--r--python/samba/ms_schema.py2
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