зеркало из https://github.com/mozilla/gecko-dev.git
57887f2601
Currently manifestparser will only look for line continuations *after* looking for a key. This means that line continuations cannot contain key separators. For example, this: [test] foo= bar=baz gets treated as: {'name': 'test', 'foo': '', 'bar': 'baz'} Here, bar=baz will be treated as a new key/value pair despite the indentation. This patch switches the order around, so we look for a continuation first. Now, it is only treated as a continuation if the indent is greater than the indent of the preceding key. So this manifest: [test] foo=bar baz=fleem is a continuation and results in: {'name': 'test', 'foo': 'bar\nbaz=fleem'} But this manifest: [test] foo=bar baz=fleem is not a continuation, and yields: {'name': 'test', 'foo': 'bar', 'baz': 'fleem'} MozReview-Commit-ID: FAMP5TUIo9q --HG-- extra : rebase_source : 624c53cfe0565374c1224dd86a3fffc8831279d3 |
||
---|---|---|
.. | ||
docs | ||
manifestparser | ||
mozcrash | ||
mozdebug | ||
mozdevice | ||
mozfile | ||
mozhttpd | ||
mozinfo | ||
mozinstall | ||
mozleak | ||
mozlog | ||
moznetwork | ||
mozprocess | ||
mozprofile | ||
mozrunner | ||
mozscreenshot | ||
mozsystemmonitor | ||
moztest | ||
mozversion | ||
README.md | ||
moz.build | ||
packages.txt | ||
setup_development.py | ||
versioninfo.py |
README.md
Mozbase
Mozbase is a set of easy-to-use Python packages forming a supplemental standard library for Mozilla. It provides consistency and reduces redundancy in automation and other system-level software. All of Mozilla's test harnesses use mozbase to some degree, including Talos, mochitest, reftest, Autophone, and Eideticker.
Learn more about mozbase at the project page.
Read detailed docs online, or build them locally by running "make html" in the docs directory.