mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
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.
This commit is contained in:
parent
baec7a6b9e
commit
bf4189eb80
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user