Changed a string format

This commit is contained in:
PCoder 2017-09-01 01:32:31 +05:30
parent 8eca78b043
commit a72287be5c

View file

@ -350,8 +350,8 @@ class OpenNebulaManager():
return template_pool return template_pool
except ConnectionRefusedError: except ConnectionRefusedError:
logger.info( logger.info(
'''Could not connect to host: {host} via protocol \ """Could not connect to host: {host} via protocol
{protocol}'''.format( {protocol}""".format(
host=settings.OPENNEBULA_DOMAIN, host=settings.OPENNEBULA_DOMAIN,
protocol=settings.OPENNEBULA_PROTOCOL) protocol=settings.OPENNEBULA_PROTOCOL)
) )