From e4d7bc24d1a3e1d712c2fd9da160f837707ba6d3 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 20 Sep 2010 13:08:29 -0700 Subject: wafsamba: Fix parsing of IS_GIT_VERSION. --- buildtools/wafsamba/samba_version.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'buildtools') 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 ## -- cgit From aa8a2e310571b20f29d36d3dac60ae87c814d8e1 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 20 Sep 2010 14:41:09 -0700 Subject: wafsamba: Fix docstring for DIST_BLACKLIST. --- buildtools/wafsamba/samba_dist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'buildtools') diff --git a/buildtools/wafsamba/samba_dist.py b/buildtools/wafsamba/samba_dist.py index 54ca6c9e96..7cd4d54b01 100644 --- a/buildtools/wafsamba/samba_dist.py +++ b/buildtools/wafsamba/samba_dist.py @@ -167,7 +167,7 @@ def DIST_DIRS(dirs): @conf def DIST_BLACKLIST(blacklist): - '''set the directories to package, relative to top srcdir''' + '''set the files to exclude from packaging, relative to top srcdir''' global dist_blacklist if not dist_blacklist: dist_blacklist = blacklist -- cgit