Commit Graph
9 Commits
Author SHA1 Message Date
Dave Hunt 9cee4fd02b Bug 1471171 - Indicate that mozterm is universal and works on any version of Python; r=emorley
MozReview-Commit-ID: FZwCHyEh2vS
2018-07-02 12:03:10 +01:00
Dave Hunt 89ba424db5 Bug 1471171 - Bump mozterm to 1.0.0; r=emorley
MozReview-Commit-ID: IMfAOiFCHST
2018-07-02 11:57:33 +01:00
Dave Hunt cf46b26a3f Bug 1428362 - Add Python 3 support to mozterm; r=ahal
MozReview-Commit-ID: CBl7XKXPABv
2018-05-30 13:51:30 +01:00
Andrew Halberstadt 3353b79e9c 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
2018-01-31 14:32:08 -05:00
Andrew Halberstadt da5ee7d8a0 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
2017-12-15 16:51:30 +00:00
Sebastian Hengst 5199c70807 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
c68b23e9cf 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
2017-12-15 16:51:30 +00:00
Andrew Halberstadt aed860d40d 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
2017-12-01 09:59:54 -05:00
Andrew Halberstadt d33b8880b0 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
2017-12-04 09:38:24 -05:00