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