diff options
| author | Mats Wichmann <mats@linux.com> | 2020-02-11 15:52:35 (GMT) |
|---|---|---|
| committer | Mats Wichmann <mats@linux.com> | 2020-02-11 15:58:27 (GMT) |
| commit | 4f5bb72605c6163c1bb32c9ceceee5bd168728b8 (patch) | |
| tree | ace8a6504cedf290fe0b4a5fdb9b25bf57352d6f /doc/generated/examples/java_java-classes_2.xml | |
| parent | eebcc30c898269ddb2fcfff846544a077059d10b (diff) | |
| download | SCons-4f5bb72605c6163c1bb32c9ceceee5bd168728b8.zip SCons-4f5bb72605c6163c1bb32c9ceceee5bd168728b8.tar.gz SCons-4f5bb72605c6163c1bb32c9ceceee5bd168728b8.tar.bz2 | |
Update Script/Main.py so it uses importlib
instead of deprecated imp module.
import site_init.py file directly for Py3
Find spec for the site file by path rather than by fiddling
sys.path to restrict the search.
Py3: address the problem that we might get a "site_init.py" from
somewhere else in sys.path.
Clean up excess indentation / try nesting; adjust comment.
Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'doc/generated/examples/java_java-classes_2.xml')
0 files changed, 0 insertions, 0 deletions
