Fix syntax error with exception handling
This would results in: ValueError: unexpected '{' in field name Change-Id: I0bb0327c854abbd9dc02818d900706905130efae Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
b734a89ab9
commit
41f8ac16d0
|
@ -58,7 +58,7 @@ def get_profile(profile_name):
|
|||
if not response.ok:
|
||||
raise exceptions.ConfigException(
|
||||
"{profile_name} is a remote profile that could not be fetched:"
|
||||
" ({status_code) {reason}".format(
|
||||
" {status_code} {reason}".format(
|
||||
profile_name=profile_name,
|
||||
status_code=response.status_code,
|
||||
reason=response.reason))
|
||||
|
|
Loading…
Reference in New Issue