summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-08 22:10:22 +1000
committerAndrew Tridgell <tridge@samba.org>2010-04-08 22:11:50 +1000
commitbf4189eb80246b3fc1fe0cf90cd790ac0b1e0e56 (patch)
tree342bde81d5b76b91c7266799d6744782a05b213d /buildtools/wafsamba
parentbaec7a6b9eb6cdb2d3a21e3a6c7b99e79703d39f (diff)
downloadsamba-bf4189eb80246b3fc1fe0cf90cd790ac0b1e0e56.tar.gz
samba-bf4189eb80246b3fc1fe0cf90cd790ac0b1e0e56.tar.bz2
samba-bf4189eb80246b3fc1fe0cf90cd790ac0b1e0e56.zip
build: we need this isinstance() check for distcheck
Jelmer, this works around a bug in waf distcheck that will be fixed soon. We really need the isinstance() check for now.
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r--buildtools/wafsamba/samba_dist.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_dist.py b/buildtools/wafsamba/samba_dist.py
index 68fdf08b80..b4a6cbb240 100644
--- a/buildtools/wafsamba/samba_dist.py
+++ b/buildtools/wafsamba/samba_dist.py
@@ -19,7 +19,7 @@ def add_tarfile(tar, fname, abspath):
def dist(appname='',version=''):
- if not appname:
+ if not isinstance(appname, str) or not appname:
# this copes with a mismatch in the calling arguments for dist()
appname = Utils.g_module.APPNAME
version = Utils.g_module.VERSION