diff options
author | anatoly techtonik <techtonik@gmail.com> | 2016-03-02 14:09:57 +0300 |
---|---|---|
committer | anatoly techtonik <techtonik@gmail.com> | 2016-03-02 14:09:57 +0300 |
commit | bb1f0244f5aae061500eaab36f37665097c7bd46 (patch) | |
tree | d801de79a8446a76ade44945f02a776d63800f43 /src/script | |
parent | 8377c9c7ca737d6104505ff9ba3d135274d2ea44 (diff) | |
download | scons-bb1f0244f5aae061500eaab36f37665097c7bd46.tar.gz |
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 e522f575..1b9a8247 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 |