def delete_tags(self): for resource_id, tag in self.resource_ids.iteritems(): ec2_backend.delete_tag(resource_id, tag[0]) template = Template(DELETE_RESPONSE) return template.render(reservations=ec2_backend.all_reservations())
def delete_tags(self): resource_ids = resource_ids_from_querystring(self.querystring) for resource_id, tag in resource_ids.iteritems(): ec2_backend.delete_tag(resource_id, tag[0]) template = Template(DELETE_RESPONSE) return template.render(reservations=ec2_backend.all_reservations())