wafsamba: Fix parsing of IS_GIT_VERSION.
authorJelmer Vernooij <jelmer@samba.org>
Mon, 20 Sep 2010 20:08:29 +0000 (13:08 -0700)
committerJelmer Vernooij <jelmer@samba.org>
Mon, 20 Sep 2010 20:08:29 +0000 (13:08 -0700)
buildtools/wafsamba/samba_version.py

index 398f6eee6041daf2539526f93aff03d9c4318a57..f2e26ec4e23d77a47c818c5e3e84c552d4747ac8 100644 (file)
@@ -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
                 
  ##