request.py: Fix parse error (beginner mistake) in status string

parent 9f86f8e7
......@@ -95,9 +95,9 @@ class Recipe(object):
status = 'not ready yet, please try again'
except AttributeError:
status = 'unknown'
error_message = 'Connection parameter %s not found. '
'Status of requested instance is : %s. If this error persists, '
'check this instance.' % (self.failed, status)
error_message = 'Connection parameter %s not found. '\
'Requested instance is currently %s. If this error persists, '\
'check status of this instance.' % (self.failed, status)
self.logger.error(error_message)
raise KeyError(error_message)
return []
......
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