* try/except block around import of BoolOption, to make sure one can use scons-0...
authorNathan Letwory <nathan@letworyinteractive.com>
Mon, 28 Apr 2008 10:47:45 +0000 (10:47 +0000)
committerNathan Letwory <nathan@letworyinteractive.com>
Mon, 28 Apr 2008 10:47:45 +0000 (10:47 +0000)
tools/btools.py

index 8c9ca669346ada0955b24d075c54793bbc820c81..8e195de27276dcae66ee5aeff0641c29668cccab 100755 (executable)
@@ -2,7 +2,10 @@
 import os
 import os.path
 import SCons.Options
-import SCons.Options.BoolOption
+try:
+    import SCons.Options.BoolOption
+except ImportError:
+    pass
 try:
     import subprocess
 except ImportError: