diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2008-10-22 15:28:10 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2008-10-22 15:28:10 +0400 |
commit | 2ecf987dc665eff477fb03a0cef0b2972e4b78d2 (patch) | |
tree | b0f1e3803bc72dea7bbbbd42f684023ee6c8cfde /tools/Blender.py | |
parent | 688cc11302caa8cde5649e6230c66a1c60cd24a2 (diff) |
* Minor cleanup of SCons files
- cleanup of boolean usage - use True and False now instead of 'true'/'false' or 0/1
- changed SConscripts accordingly
Diffstat (limited to 'tools/Blender.py')
-rw-r--r-- | tools/Blender.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/Blender.py b/tools/Blender.py index 9baeb374af8..dd617f3c563 100644 --- a/tools/Blender.py +++ b/tools/Blender.py @@ -155,7 +155,7 @@ def setup_syslibs(lenv): ] if not lenv['WITH_BF_STATICPYTHON']: - if lenv['BF_DEBUG']==1 and lenv['OURPLATFORM'] in ('win32-vc'): + if lenv['BF_DEBUG'] and lenv['OURPLATFORM'] in ('win32-vc'): syslibs.append(lenv['BF_PYTHON_LIB']+'_d') else: syslibs.append(lenv['BF_PYTHON_LIB']) @@ -215,7 +215,7 @@ def buildinfo(lenv, build_type): build_rev = os.popen('svnversion').read()[:-1] # remove \n obj = [] - if lenv['BF_BUILDINFO']==1: #user_options_dict['USE_BUILDINFO'] == 1: + if lenv['BF_BUILDINFO']: if sys.platform=='win32': build_info_file = open("source/creator/winbuildinfo.h", 'w') build_info_file.write("char *build_date=\"%s\";\n"%build_date) |