gecko-dev/python
Edwin Gao b8a91d1cf9 Bug 1305743 - Make failure to find mozinfo.json a fatal error r=gbrown,ahal
- moved placement of the raise_exception computation to be after the initial objdir path computation.
- original implementation was missing detection for cases where user may pass in a False flag to explicitly suppress errors.
- added unit tests to check for scenarios where raise_exception flag is passed in as part of positional argument.
- changed argument to include a **kwargs argument for caller to modify default exception behavior.
- default behavior is to raise exceptions if mozinfo.json cannot be found.
- disabled TreeMetadataEmitter from calling mozinfo.find_and_update_from_json and setting the self.info variable since it was not referenced anywhere else after the initial setup.

Depends on D6859

Differential Revision: https://phabricator.services.mozilla.com/D6860

--HG--
extra : moz-landing-system : lando
2018-09-26 20:07:25 +00:00
..
devtools/migrate-l10n
docs
l10n/fluent_migrations Bug 1486936. Migrated about:config to Fluent for localization. r=Gijs,flod,jaws 2018-09-26 04:33:22 +00:00
mach
mozboot Bug 1490145 - Download rustc 1.29 in mach bootstrap. r=glandium 2018-09-14 02:21:26 +00:00
mozbuild Bug 1305743 - Make failure to find mozinfo.json a fatal error r=gbrown,ahal 2018-09-26 20:07:25 +00:00
mozlint Bug 1448417 - [mozlint] Remove ability to specify globs in an 'include' directive, r=egao 2018-09-25 18:30:23 +00:00
mozrelease Merge inbound to mozilla-central. a=merge 2018-09-14 01:01:37 +03:00
mozterm
mozversioncontrol
safety
mach_commands.py
moz.build
README

This directory contains common Python code.

The basic rule is that if Python code is cross-module (that's "module" in the
Mozilla meaning - as in "module ownership") and is MPL-compatible, it should
go here.

What should not go here:

* Vendored python modules (use third_party/python instead)
* Python that is not MPL-compatible (see other-licenses/)
* Python that has good reason to remain close to its "owning" (Mozilla)
  module (e.g. it is only being consumed from there).

Historical information can be found at
https://bugzilla.mozilla.org/show_bug.cgi?id=775243
https://bugzilla.mozilla.org/show_bug.cgi?id=1346025