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