PEP8: fix E713: test for membership should be 'not in'
[sfrench/samba-autobuild/.git] / python / samba / kcc / kcc_utils.py
index a1dda6b5e0266d5c935d9ddcd2a9210225365219..c099140c9363cee4d616772213d002d19cd59808 100644 (file)
@@ -744,7 +744,7 @@ class DirectoryServiceAgent(object):
                     flags = dsdn.get_binary_integer()
                     dnstr = str(dsdn.dn)
 
-                    if not dnstr in tmp_table:
+                    if dnstr not in tmp_table:
                         rep = NCReplica(self, dnstr)
                         tmp_table[dnstr] = rep
                     else: