forked from upstream/UXP-mirror
2to3 . --fix raise -wpn Python 3 raise syntax is different. Three-argument raise is deprecated, much like print syntax is changed. This lets you have the old behavior. Mechanical. Ref: PEP 3109 https://peps.python.org/pep-3109/
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: * 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 ## pyyaml | pystache Used in taskcluster related mach commands to update download from github and remove .git and tests. Then run tests in taskcluster/tests/