diff options
author | anatoly techtonik <techtonik@gmail.com> | 2016-03-02 11:09:57 (GMT) |
---|---|---|
committer | anatoly techtonik <techtonik@gmail.com> | 2016-03-02 11:09:57 (GMT) |
commit | 453f69278a6ca7f32ab733167d38ea101804f3fb (patch) | |
tree | d801de79a8446a76ade44945f02a776d63800f43 /src/script | |
parent | 3791dc82915d61f0b9eee4738fc090c8a23b162c (diff) | |
download | SCons-453f69278a6ca7f32ab733167d38ea101804f3fb.zip SCons-453f69278a6ca7f32ab733167d38ea101804f3fb.tar.gz SCons-453f69278a6ca7f32ab733167d38ea101804f3fb.tar.bz2 |
script/scons.py - improve error message on missing engine files
Diffstat (limited to 'src/script')
-rw-r--r-- | src/script/scons.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/scons.py b/src/script/scons.py index e522f57..1b9a824 100644 --- a/src/script/scons.py +++ b/src/script/scons.py @@ -188,8 +188,8 @@ sys.path = libs + sys.path if __name__ == "__main__": try: import SCons.Script - except: - print("Import failed. Unable to find SCons files in:") + except ImportError: + print("SCons import failed. Unable to find engine files in:") for path in libs: print(" %s" % path) raise |