* small fix for compiling with scons 0.98.x
authorNathan Letwory <nathan@letworyinteractive.com>
Wed, 11 Jun 2008 11:36:24 +0000 (11:36 +0000)
committerNathan Letwory <nathan@letworyinteractive.com>
Wed, 11 Jun 2008 11:36:24 +0000 (11:36 +0000)
tools/btools.py

index 9f5a028f845f91d14e6fdd4b9eac5c95c07d00d7..a170380910d25845a8fd124f2eb65d368f47103b 100755 (executable)
@@ -1,11 +1,14 @@
 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:
-       pass
+    pass
 import string
 import glob
 import shutil