Commit 22e2c150 authored by André Anjos's avatar André Anjos 💬
Browse files

Python 2.7 compatibility

parent 57640ea4
Pipeline #19650 passed with stages
in 45 minutes and 6 seconds
......@@ -162,8 +162,7 @@ def main(user_input=None):
if args['--verbose'] >= 2:
format_str = "[%(asctime)s - %(name)s]%(reset)s %(levelname)s: %(message)s"
formatter = logging.Formatter(format_str, style='%',
datefmt="%d/%b/%Y %H:%M:%S")
formatter = logging.Formatter(format_str, datefmt="%d/%b/%Y %H:%M:%S")
console_handler.setFormatter(formatter)
logger.addHandler(console_handler)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment