author | Sebastian Hengst <archaeopteryx@coole-files.de> |
Wed, 01 Mar 2017 17:34:57 +0100 | |
changeset 392052 | 90ac7081a45fbccba3cb35e0b49f098b50d0f11c |
parent 392051 | a0d02ea2773152926486f5b39f6fe83954e5c400 |
child 392053 | d2b0ed8f69e0c58328b772d235d4202103af3497 |
push id | 7198 |
push user | jlorenzo@mozilla.com |
push date | Tue, 18 Apr 2017 12:07:49 +0000 |
treeherder | mozilla-beta@d57aa49c3948 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
bugs | 1335873 |
milestone | 54.0a1 |
backs out | 2873be3659a3841a44d652f2e84f25983c59c4fa |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/build/mach_bootstrap.py +++ b/build/mach_bootstrap.py @@ -403,18 +403,17 @@ class ImportHook(object): # loading, remove the .pyc/.pyo file, and reload the module. # Since we already loaded the .pyc/.pyo module, if it had side # effects, they will have happened already, and loading the module # with the same name, from another directory may have the same side # effects (or different ones). We assume it's not a problem for the # python modules under our source directory (either because it # doesn't happen or because it doesn't matter). if not os.path.exists(module.__file__[:-1]): - if os.path.exists(module.__file__): - os.remove(module.__file__) + os.remove(module.__file__) del sys.modules[module.__name__] module = self(name, globals, locals, fromlist, level) return module # Install our hook __builtin__.__import__ = ImportHook(__builtin__.__import__)