Граф коммитов

6 Коммитов

Автор SHA1 Сообщение Дата
Andrew Halberstadt f354075c7a Bug 1434430 - [flake8] Fix blank 'except' statements r=rwood
This is a new issue that gets linted with flake8 3.5.0. Basically you should
never use a blank except: statement.

This will catch all exceptions, including KeyboardInterrupt and SystemExit
(which is likely not intended). If a catch all is needed, use
`except: Exception`.  If you *really* mean to also catch KeyboardInterrupt et
al, use `except: BaseException`.

Of course, being specific is often better than a catch all.

MozReview-Commit-ID: FKx80MLO4RN

--HG--
extra : rebase_source : 7c74a7d0d81f2c984b47aff3a0ee3448b791177b
2018-01-31 14:32:08 -05:00
Andrew Halberstadt 0ad7a325e3 Bug 1421799 - [test_archive] Add 'mozterm' to common.tests.zip r=gbrown
This makes sure the mozterm module is available to the testers. The
setup.py was needed to it could be installed from requirements.txt.

This module does not yet live on pypi.

MozReview-Commit-ID: 9AL0EZ1uVgL

--HG--
extra : rebase_source : 882d4ec5ec9b80f20ca63e5c7303752427b390d2
2017-12-15 16:51:30 +00:00
Sebastian Hengst e6dbbae0aa Backed out 5 changesets (bug 1421799) for failing firefox ui functional tests. r=backout on a CLOSED TREE
Backed out changeset f9f32474fdaf (bug 1421799)
Backed out changeset 18b4fa241936 (bug 1421799)
Backed out changeset 88dca5c8cfac (bug 1421799)
Backed out changeset 8c1f1ab754a5 (bug 1421799)
Backed out changeset e028f677bc80 (bug 1421799)
2018-01-03 20:21:28 +02:00
df1aa1417d Bug 1421799 - [test_archive] Add 'mozterm' to common.tests.zip r=gbrown
This makes sure the mozterm module is available to the testers. The
setup.py was needed to it could be installed from requirements.txt.

This module does not yet live on pypi.

MozReview-Commit-ID: 9AL0EZ1uVgL

--HG--
extra : rebase_source : 4052f60e5e793d912045a9bd420d70c59e8a69fb
2017-12-15 16:51:30 +00:00
Andrew Halberstadt 80e7a5e3f5 Bug 1422302 - Move mozbuild.controller.building.Footer to mozterm r=gps
This makes it a bit easier to share with other parts of the tree,
like test and linting.

MozReview-Commit-ID: 8Gzk8uOF5zK

--HG--
extra : rebase_source : 9354614c78481ca4cbe0327501018a95792e9351
2017-12-01 09:59:54 -05:00
Andrew Halberstadt 0e697ce235 Bug 1422302 - Create python/mozterm for sharing terminal blessings across modules r=gps
This is a new module that will provide a place to store some common
abstractions around the 'blessings' module. The main entrypoint is:

    from mozterm import Terminal
    term = Terminal()

If blessings is available, this will return a blessings.Terminal()
object. If it isn't available, or something went wrong on import,
this will return a NullTerminal() object, which is a drop-in
replacement that does no formatting.

MozReview-Commit-ID: 6c63svm4tM5

--HG--
extra : rebase_source : 9ab221774d92a418d9b098d79bb2c88f75d937f8
2017-12-04 09:38:24 -05:00