Fixed final lint error

This commit is contained in:
justinta89 2016-03-14 11:28:40 -06:00
parent 5945b3f11f
commit f509b4113e

View File

@ -204,7 +204,7 @@ def query_instance(vm_=None, call=None):
if isinstance(data, dict) and 'error' in data:
log.warn(
'There was an error in the query. {0}'.format(data['error'])
'There was an error in the query. {0}'.format(data.get('error'))
)
# Trigger a failure in the wait for IP function
return False