From 9a78468ab05beb7f3cf5711e51f0be2cfe76b0e4 Mon Sep 17 00:00:00 2001 From: Nathan Letwory Date: Wed, 6 Jun 2007 07:07:58 +0000 Subject: * 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. --- tools/btools.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tools') 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 -- cgit v1.2.3