Merge branch 'v4-0-stable' into newmaster
[nivanova/samba-autobuild/.git] / buildtools / wafsamba / samba_version.py
index 0128670bab6769a4fa943fd74d380b00d6ab5970..82f882f64626faf399bc0615823550fc98407e79 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
                 
  ##