diff options
Diffstat (limited to 'buildtools/wafsamba/samba_utils.py')
-rw-r--r-- | buildtools/wafsamba/samba_utils.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/buildtools/wafsamba/samba_utils.py b/buildtools/wafsamba/samba_utils.py index 5811cb3240..563009e093 100644 --- a/buildtools/wafsamba/samba_utils.py +++ b/buildtools/wafsamba/samba_utils.py @@ -339,6 +339,9 @@ def EXPAND_VARIABLES(ctx, varstr, vars=None): ret.append(EXPAND_VARIABLES(ctx, s, vars=vars)) return ret + if not isinstance(varstr, str): + return varstr + import Environment env = Environment.Environment() ret = varstr |