зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1526062 - Add missing imports for Exception. r=nalexander
Depends on D19109 Differential Revision: https://phabricator.services.mozilla.com/D19110 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
ef876da54d
Коммит
015ffd1905
|
@ -442,6 +442,7 @@ def try_preprocess(compiler, language, source):
|
|||
@imports(_from='mozbuild.configure.constants',
|
||||
_import='OS_preprocessor_checks')
|
||||
@imports(_from='textwrap', _import='dedent')
|
||||
@imports(_from='__builtin__', _import='Exception')
|
||||
def get_compiler_info(compiler, language):
|
||||
'''Returns information about the given `compiler` (command line in the
|
||||
form of a list or tuple), in the given `language`.
|
||||
|
|
|
@ -97,6 +97,7 @@ def valid_windows_sdk_dir_result(value):
|
|||
@depends(c_compiler, windows_sdk_dir, valid_windows_version, 'WINDOWSSDKDIR')
|
||||
@checking('for Windows SDK', valid_windows_sdk_dir_result)
|
||||
@imports(_from='__builtin__', _import='sorted')
|
||||
@imports(_from='__builtin__', _import='Exception')
|
||||
@imports(_from='textwrap', _import='dedent')
|
||||
def valid_windows_sdk_dir(compiler, windows_sdk_dir, target_version,
|
||||
windows_sdk_dir_env):
|
||||
|
|
Загрузка…
Ссылка в новой задаче