s4-waf: Fix 'waf dist' app name.
authorJelmer Vernooij <jelmer@samba.org>
Wed, 7 Apr 2010 20:52:28 +0000 (22:52 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Wed, 7 Apr 2010 20:53:39 +0000 (22:53 +0200)
buildtools/wafsamba/samba_dist.py

index e01bebe9edaeabe47ddc5d6015a54e20396d122c..68fdf08b804719db051bbc51e103693a2d4196a8 100644 (file)
@@ -19,7 +19,7 @@ def add_tarfile(tar, fname, abspath):
 
 
 def dist(appname='',version=''):
-    if not isinstance(appname, str):
+    if not appname:
         # this copes with a mismatch in the calling arguments for dist()
         appname = Utils.g_module.APPNAME
         version = Utils.g_module.VERSION