diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2008-04-28 14:47:45 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2008-04-28 14:47:45 +0400 |
commit | 8188fd9b97adf9c0cd6e7b3f73c894773105a047 (patch) | |
tree | e110c35d8fe19dbf3d5a9a2a6666326201aeca62 | |
parent | de8b30a4240e01decb05acfe495d40771de2616c (diff) |
* try/except block around import of BoolOption, to make sure one can use scons-0.98.2 to compile with.
-rwxr-xr-x | tools/btools.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/btools.py b/tools/btools.py index 8c9ca669346..8e195de2727 100755 --- a/tools/btools.py +++ b/tools/btools.py @@ -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: |