Beispiel #1
0
def _get_tag(resource_id, tag_name, context=None):
    t = tag.Tag(context=context)
    t.resource_id = resource_id
    t.tag = tag_name
    return t
Beispiel #2
0
def _get_tag(resource_id, tag_name):
    t = tag.Tag()
    t.resource_id = resource_id
    t.tag = tag_name
    return t