diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-06-13 16:38:24 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-06-13 18:19:03 +0200 |
commit | 51058213cb183bcb127f5bb275cbb781efc55e35 (patch) | |
tree | cdf9394eaba7e5ab2e784cd18518770469f99075 /source4/scripting/python/samba/ntacls.py | |
parent | 46037a816091506c4c89df6141d57b281728b395 (diff) | |
download | samba-51058213cb183bcb127f5bb275cbb781efc55e35.tar.gz samba-51058213cb183bcb127f5bb275cbb781efc55e35.tar.xz samba-51058213cb183bcb127f5bb275cbb781efc55e35.zip |
s4-test: Use smb.conf path set in environment rather than using
command-line options.
This is the first step towards supporting custom test runners.
Diffstat (limited to 'source4/scripting/python/samba/ntacls.py')
-rw-r--r-- | source4/scripting/python/samba/ntacls.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/ntacls.py b/source4/scripting/python/samba/ntacls.py index cfdb2621c4c..bbb792521e9 100644 --- a/source4/scripting/python/samba/ntacls.py +++ b/source4/scripting/python/samba/ntacls.py @@ -32,7 +32,7 @@ def checkset_backend(lp, backend, eadbfile): if backend == "native": lp.set("posix:eadb", "") elif backend == "tdb": - if eadbfile != None: + if eadbfile is not None: lp.set("posix:eadb", eadbfile) else: os.path.abspath(os.path.join(lp.get("private dir"), "eadb.tdb")) |