summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/samba3.py
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2014-06-02 02:36:13 +0200
committerAndrew Bartlett <abartlet@samba.org>2014-10-14 06:44:06 +0200
commitbd6faaf56a6237874cc84ddb8be0f09a9b742a54 (patch)
treee6fa05fda6d7cb4747937e4c05b8ff0a166012d6 /buildtools/wafsamba/samba3.py
parentb605d152de80889925c7b7a3e723a3581fe5e21a (diff)
downloadsamba-bd6faaf56a6237874cc84ddb8be0f09a9b742a54.tar.gz
Remove last instances of pep8 error E712 (use 'is' rather than '==' for booleans)
Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Change-Id: I43b394a6225b4c2049d979fda75548c82d781f67
Diffstat (limited to 'buildtools/wafsamba/samba3.py')
-rw-r--r--buildtools/wafsamba/samba3.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildtools/wafsamba/samba3.py b/buildtools/wafsamba/samba3.py
index 64cd8c7453c..571954de169 100644
--- a/buildtools/wafsamba/samba3.py
+++ b/buildtools/wafsamba/samba3.py
@@ -10,9 +10,9 @@ def SAMBA3_ADD_OPTION(opt, option, help=(), dest=None, default=True,
with_name="with", without_name="without"):
if default is None:
default_str="auto"
- elif default == True:
+ elif default is True:
default_str="yes"
- elif default == False:
+ elif default is False:
default_str="no"
else:
default_str=str(default)