1
0
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:
Jelmer Vernooij
2010-03-01 04:46:40 +01:00
parent 1ef50d5de4
commit 31a718aa27
14 changed files with 124 additions and 152 deletions

View File

@ -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()