summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-09-20 13:08:29 -0700
committerJelmer Vernooij <jelmer@samba.org>2010-09-20 13:08:29 -0700
commite4d7bc24d1a3e1d712c2fd9da160f837707ba6d3 (patch)
tree4af0f72b17027bb2ac6cc63f7b5d575076998f6b /buildtools
parentcd7335abd31e7c4a42d3fc108fa873645bf4c53c (diff)
downloadsamba-e4d7bc24d1a3e1d712c2fd9da160f837707ba6d3.tar.gz
samba-e4d7bc24d1a3e1d712c2fd9da160f837707ba6d3.tar.bz2
samba-e4d7bc24d1a3e1d712c2fd9da160f837707ba6d3.zip
wafsamba: Fix parsing of IS_GIT_VERSION.
Diffstat (limited to 'buildtools')
-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
##