mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
General cleanups of python code, hinted by pyflakes.
This commit is contained in:
@ -100,7 +100,7 @@ class Ldb(ldb.Ldb):
|
||||
# Allow admins to force non-sync ldb for all databases
|
||||
if lp is not None:
|
||||
nosync_p = lp.get("nosync", "ldb")
|
||||
if nosync_p is not None and nosync_p == true:
|
||||
if nosync_p is not None and nosync_p == True:
|
||||
flags |= FLG_NOSYNC
|
||||
|
||||
self.set_create_perms()
|
||||
|
Reference in New Issue
Block a user