Commit 8635ba55 authored by Alain Takoudjou's avatar Alain Takoudjou

Apply suggestion to slapos/format.py

parent 2b34580c
......@@ -1414,7 +1414,7 @@ def do_format(conf):
except slap.exception.ConnectionError as e:
if not conf.ignore_network_errors:
raise
conf.logger.warn('Failed to send information to master: %s' % str(e))
conf.logger.warn('Failed to send information to master: %s', e)
conf.logger.info('slapos successfully prepared the computer.')
......
Markdown is supported
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