Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2007-06-06 11:07:58 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2007-06-06 11:07:58 +0400
commit9a78468ab05beb7f3cf5711e51f0be2cfe76b0e4 (patch)
tree9abfb2779c017072428ab62a3e0962650e63c71e /tools
parentb0921f3d79d011b9b9d1413b907f1a12cfcc321f (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-xtools/btools.py5
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