summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranatoly techtonik <techtonik@gmail.com>2016-03-02 11:09:57 (GMT)
committeranatoly techtonik <techtonik@gmail.com>2016-03-02 11:09:57 (GMT)
commit453f69278a6ca7f32ab733167d38ea101804f3fb (patch)
treed801de79a8446a76ade44945f02a776d63800f43
parent3791dc82915d61f0b9eee4738fc090c8a23b162c (diff)
downloadSCons-453f69278a6ca7f32ab733167d38ea101804f3fb.zip
SCons-453f69278a6ca7f32ab733167d38ea101804f3fb.tar.gz
SCons-453f69278a6ca7f32ab733167d38ea101804f3fb.tar.bz2
script/scons.py - improve error message on missing engine files
-rw-r--r--src/script/scons.py4
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