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