summaryrefslogtreecommitdiff
path: root/lib/ldb-samba/tests/match_rules.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ldb-samba/tests/match_rules.py')
-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: