Remove py26 format literals

Resolves #403
This commit is contained in:
Anthony Sottile 2016-09-15 08:17:18 -07:00
parent 26e60fa333
commit b81c9802ae
28 changed files with 58 additions and 58 deletions

View file

@ -22,9 +22,9 @@ class LoggingHandler(logging.Handler):
def emit(self, record):
self.__write(
u'{0}{1}\n'.format(
'{}{}\n'.format(
color.format_color(
'[{0}]'.format(record.levelname),
'[{}]'.format(record.levelname),
LOG_LEVEL_COLORS[record.levelname],
self.use_color,
) + ' ',