equal
deleted
inserted
replaced
127 |
127 |
128 return None |
128 return None |
129 |
129 |
130 @classmethod |
130 @classmethod |
131 def delete_tag(cls, scope, tag_name): |
131 def delete_tag(cls, scope, tag_name): |
132 """Copy a tag with a given scope and tag_name to another tag with |
132 """Delete a tag with a given scope and tag_name. |
133 new tag_name. |
|
134 """ |
133 """ |
135 tag = cls.get_by_scope_and_name(scope, tag_name) |
134 tag = cls.get_by_scope_and_name(scope, tag_name) |
136 |
135 |
137 if tag: |
136 if tag: |
138 tag.delete() |
137 tag.delete() |