summaryrefslogtreecommitdiff
path: root/lib/ldb-samba
diff options
context:
space:
mode:
authorJoe Guo <joeg@catalyst.net.nz>2018-07-30 18:22:34 +1200
committerDouglas Bagnall <dbagnall@samba.org>2018-08-24 07:49:31 +0200
commit9f5bbcc10a82f409f41cce5685458332674e2010 (patch)
treea59d97bc3fde571981c10889d9d6a6651efc567d /lib/ldb-samba
parent1676a4dcae505142036dff49eb4d65ff6e9854b2 (diff)
downloadsamba-9f5bbcc10a82f409f41cce5685458332674e2010.tar.gz
PEP8: fix E713: test for membership should be 'not in'
Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'lib/ldb-samba')
-rwxr-xr-xlib/ldb-samba/tests/match_rules.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ldb-samba/tests/match_rules.py b/lib/ldb-samba/tests/match_rules.py
index aaa9675c196..7c472816f8d 100755
--- a/lib/ldb-samba/tests/match_rules.py
+++ b/lib/ldb-samba/tests/match_rules.py
@@ -1774,7 +1774,7 @@ host = args[0]
lp = sambaopts.get_loadparm()
creds = credopts.get_credentials(lp)
-if not "://" in host:
+if "://" not in host:
if os.path.isfile(host):
host = "tdb://%s" % host
else: