Use percent sign as string formatting operator

Closes-Bug: #1470498
Change-Id: Ic47e9cba968de1f57a1f9508f9b823729cdba09d
This commit is contained in:
Tetiana Lashchova 2015-07-01 07:32:35 -04:00
parent 10d0037531
commit 2539c38cca

View File

@ -91,7 +91,7 @@ class ClientBackend(object):
context)
except (ImportError, RuntimeError) as err:
msg = _('Invalid cloud_backend setting in heat.conf '
'detected - %s'), six.text_type(err)
'detected - %s') % six.text_type(err)
LOG.error(msg)
raise exception.Invalid(reason=msg)