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