def create_tags(self): for resource_id, tag in self.resource_ids.iteritems(): ec2_backend.create_tag(resource_id, tag[0], tag[1]) return CREATE_RESPONSE
def create_tags(self): resource_ids = resource_ids_from_querystring(self.querystring) for resource_id, tag in resource_ids.iteritems(): ec2_backend.create_tag(resource_id, tag[0], tag[1]) return CREATE_RESPONSE