svn keywords
[plcapi.git] / PLC / Legacy / DeleteSliceAttributeType.py
1 # $Id$
2 # $URL$
3 from PLC.v42Legacy import patch
4 from PLC.v42LegacySliceAttributeTypes import v42rename, v43rename
5 from PLC.Methods.DeleteTagType import DeleteTagType
6 class DeleteSliceAttributeType(DeleteTagType):
7     """ Legacy version of DeleteTagType. """
8     status = "deprecated"
9     def call(self, auth, tag_type_id_or_name):
10         tag_type_id_or_name=patch(tag_type_id_or_name,v42rename)
11         result=DeleteTagType.call(self,auth,tag_type_id_or_name)
12         return patch(result,v43rename)