waf/waflib
fedepell 5d3576af45 fix load_tool error messages and cover all occourences
When a tool cannot be loaded the wrong path was displayed on the error
message. sys.path was always displayed but the actual path used depends
on tooldir being passed and on the value of with_sys_path parameter.

I put the exception handling (raising the fatal) inside load_tool itself
as this is the only place where the exact path is known, without having
to recalculate it outside. To be able to use fatal there also the ctx
has to be passed from the various points.

In this way all load_tool exceptions are caught and reported, while before
an exception during configure was not caught for example, just during the
options.
2017-11-09 08:26:35 +01:00
..
Tools qt5: make also uic->h conversion parallel safe, assuming that all transformations are equal 2017-11-03 20:49:49 +01:00
extras Change DEST_OS to use underscores in order to find a correct gcc_modifier_ function. 2017-10-23 14:03:47 +02:00
Build.py fix load_tool error messages and cover all occourences 2017-11-09 08:26:35 +01:00
ConfigSet.py object.__getattr__ -> object.__getattribute__ 2017-10-20 20:05:06 +02:00
Configure.py fix load_tool error messages and cover all occourences 2017-11-09 08:26:35 +01:00
Context.py fix load_tool error messages and cover all occourences 2017-11-09 08:26:35 +01:00
Errors.py Cleanup: Break multiple statements on multiple lines 2017-04-17 13:16:57 +02:00
Logs.py Cleanup unused global statements 2017-09-02 23:34:15 +02:00
Node.py Node.ant_glob: Do not ignore case by default, as specified by the documentation. 2017-09-19 22:46:16 +02:00
Options.py Do not expose the pdb option by default 2017-09-30 21:31:07 +02:00
Runner.py Adjust the GAP for tasks from 20*njobs to 5*njobs 2017-10-21 23:21:29 +02:00
Scripting.py --pdb option to start pdb on exception 2017-09-30 21:28:55 +02:00
Task.py Have the task count start at 1 (regression) 2017-10-20 20:25:24 +02:00
TaskGen.py Cleanup unused global statements 2017-09-02 23:34:15 +02:00
Utils.py Use the 'with' syntax whenever possible 2017-09-12 19:36:43 +02:00
__init__.py Update the year in headers to 2017 2017-02-11 16:13:37 +01:00
ansiterm.py Typos 2017-03-27 19:33:16 +02:00
fixpy2.py Remove unnecessary global declarations 2017-09-23 09:22:24 +02:00
processor.py Code simplifications 2017-04-22 22:12:11 +02:00