diff options
author | Steven Knight <knight@baldmt.com> | 2002-03-21 18:24:13 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-03-21 18:24:13 (GMT) |
commit | d3dc04b8b7031da1a83f752aa77e23e0919512e5 (patch) | |
tree | ecf8aa5acbdab3b7f2ba8a5381b794fad2930406 /src/engine/SCons/Util.py | |
parent | bb8376994ade0355161d82068d420dee2ff4bec3 (diff) | |
download | SCons-d3dc04b8b7031da1a83f752aa77e23e0919512e5.zip SCons-d3dc04b8b7031da1a83f752aa77e23e0919512e5.tar.gz SCons-d3dc04b8b7031da1a83f752aa77e23e0919512e5.tar.bz2 |
Make construction variables with a value of 0 work (Anthony Roach)
Diffstat (limited to 'src/engine/SCons/Util.py')
-rw-r--r-- | src/engine/SCons/Util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/Util.py b/src/engine/SCons/Util.py index 04e7e7d..3fb56d9 100644 --- a/src/engine/SCons/Util.py +++ b/src/engine/SCons/Util.py @@ -195,7 +195,7 @@ def scons_subst_list(strSubst, globals, locals, remove=None): key = key[1:-1] try: e = eval(key, globals, locals) - if not e: + if e is None: s = '' elif is_List(e): s = string.join(map(str, e), '\0') |