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

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