* try/except block around import of BoolOption, to make sure one can use scons-0.98.2 to compile with.
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user