in ec2stack/providers/cloudstack/snapshots.py [0:0]
def _delete_snapshot_response(response):
"""
Generates a response for delete snapshot request.
@return: Response.
"""
if 'errortext' in response:
if 'Invalid parameter id' in response['errortext']:
errors.invalid_snapshot_id()
return {
'template_name_or_list': 'status.xml',
'response_type': 'DeleteSnapshotResponse',
'return': 'true'
}