3f1696cb2f
This change sets the `newline` argument to `open` calls to `\n`, so that any line ending in these files are Unix-style; as opposed to Python's default behaviour which is to use the line ending style of the operating system. This patch only changes `open` calls that are made in the context of writing into a file (as opposed to reading from one). Differential Revision: https://phabricator.services.mozilla.com/D222459 --HG-- extra : amend_source : 7443a9d06f741803c7cede87fbaa321a0040cf96 |
||
---|---|---|
.. | ||
l10n | ||
rocboot | ||
rocbuild/rocbuild | ||
sites | ||
thirdroc | ||
README | ||
moz.build |
README
This directory contains common Python code for Thunderbird. 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, AND it applies only to applications build from comm-central derived repositories (Thunderbird and Seamonkey), 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).