Merge ~ec0/juju-lint:fix-logging-color-when-piped into juju-lint:master
Proposed by
James Hebden
Status: | Merged |
---|---|
Approved by: | James Troup |
Approved revision: | 11151887a5c2a525b48bd4968f5d0133a652b5f0 |
Merged at revision: | 9c9a145973e94d89f50108dd2f547b74bb1a5bb4 |
Proposed branch: | ~ec0/juju-lint:fix-logging-color-when-piped |
Merge into: | juju-lint:master |
Diff against target: |
21 lines (+2/-1) 1 file modified
jujulint/logging.py (+2/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Lint maintainers | Pending | ||
Review via email: mp+385229@code.launchpad.net |
Commit message
Disable coloured logging when stdout is redirected
Description of the change
This merge ensures coloured output is disabled when the standard output of the program is redirected from the console (either piped to another program, or redirected to a file) in the user's shell, rather than using the commandline argument to create a log file.
To post a comment you must log in.
This merge proposal is being monitored by mergebot. Change the status to Approved to merge.