summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildtools/wafsamba/samba_version.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildtools/wafsamba/samba_version.py b/buildtools/wafsamba/samba_version.py
index 398f6eee60..f2e26ec4e2 100644
--- a/buildtools/wafsamba/samba_version.py
+++ b/buildtools/wafsamba/samba_version.py
@@ -27,9 +27,9 @@ also accepted as dictionary entries here
else:
setattr(self, a, b)
- if self.IS_GIT_SNAPSHOT is "yes":
+ if self.IS_GIT_SNAPSHOT == "yes":
self.IS_GIT_SNAPSHOT=True
- elif self.IS_GIT_SNAPSHOT is "no":
+ elif self.IS_GIT_SNAPSHOT == "no":
self.IS_GIT_SNAPSHOT=False
##