mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
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>
This commit is contained in:
@ -1646,7 +1646,7 @@ class SchemaTests_msDS_isRODC(samba.tests.TestCase):
|
||||
self.assertTrue("msDS-isRODC" in ldb_msg)
|
||||
|
||||
|
||||
if not "://" in host:
|
||||
if "://" not in host:
|
||||
if os.path.isfile(host):
|
||||
host = "tdb://%s" % host
|
||||
else:
|
||||
|
Reference in New Issue
Block a user