diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2007-06-06 11:07:58 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2007-06-06 11:07:58 +0400 |
commit | 9a78468ab05beb7f3cf5711e51f0be2cfe76b0e4 (patch) | |
tree | 9abfb2779c017072428ab62a3e0962650e63c71e /tools | |
parent | b0921f3d79d011b9b9d1413b907f1a12cfcc321f (diff) |
* put a try block around import subprocess. Apparently there can be broken python installs without the subprocess module. This is useful on win32 with mingw only anyway.
Diffstat (limited to 'tools')
-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 1dc35bb7248..f3ad7983e74 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 -import subprocess +try: + import subprocess +except ImportError: + pass import string import glob import shutil |