Small cleanups

This commit is contained in:
Anthony Sottile 2017-09-30 15:15:52 -07:00
parent e717df0ba8
commit 18c9e061d8
17 changed files with 40 additions and 58 deletions

View file

@ -23,12 +23,12 @@ class LoggingHandler(logging.Handler):
def emit(self, record):
output.write_line(
'{}{}'.format(
'{} {}'.format(
color.format_color(
'[{}]'.format(record.levelname),
LOG_LEVEL_COLORS[record.levelname],
self.use_color,
) + ' ',
),
record.getMessage(),
),
)