PEP8: fix E713: test for membership should be 'not in'
[sfrench/samba-autobuild/.git] / python / samba / netcmd / dbcheck.py
index 3a940bf6d6a472d87738efac9bca733d7a319aa6..6369e7fbb09111f0b6baabbe4b19c1bec169e633 100644 (file)
@@ -110,7 +110,7 @@ class cmd_dbcheck(Command):
 
         scope_map = {"SUB": ldb.SCOPE_SUBTREE, "BASE": ldb.SCOPE_BASE, "ONE": ldb.SCOPE_ONELEVEL}
         scope = scope.upper()
-        if not scope in scope_map:
+        if scope not in scope_map:
             raise CommandError("Unknown scope %s" % scope)
         search_scope = scope_map[scope]