Commit Graph

2 Commits

Author SHA1 Message Date
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