Enables the option for color to be displayed for warnings and errors.
Review Request #7704 — Created Oct. 16, 2015 and submitted — Latest diff uploaded
RBtools currently does not have the option for color to be displayed for warnings and errors.
I have changed the command-line UI, so that it defaults to color for warnings and errors, but
allows the user to disable the feature if they do not wish to use it.
I added logging.warning, logging.critical, and used a command that would give an error to see
if color would be displayed. After that I used the --no-color command to turn off the color off.
Also, I ran the unit tests and it passed them.
Diff Revision 3
This is not the most recent revision of the diff. The latest diff is revision 13. See what's changed.
orig
1
2
3
4
5
6
7
8
9
10
11
12
13
setup.py |
---|
rbtools/commands/__init__.py |
---|