X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FAddTagType.py;h=6432e056390b450b6368b71759069c9515f4e218;hb=19d4a01ccf66af9e00914351b3eacd5fc880f988;hp=3de86b0761224cd40c72c7e37451d7d1c7a26d8d;hpb=f5cd72e35593c96b9996ab4e49674cccc7525c48;p=plcapi.git diff --git a/PLC/Methods/AddTagType.py b/PLC/Methods/AddTagType.py index 3de86b0..6432e05 100644 --- a/PLC/Methods/AddTagType.py +++ b/PLC/Methods/AddTagType.py @@ -1,11 +1,6 @@ -# $Id$ -# $URL$ # # Thierry Parmentelat - INRIA # -# $Revision: 9423 $ -# - from PLC.Faults import * from PLC.Method import Method @@ -14,7 +9,7 @@ from PLC.TagTypes import TagType, TagTypes from PLC.Auth import Auth can_update = lambda (field, value): field in \ - ['tagname', 'description', 'category', 'min_role_id'] + ['tagname', 'description', 'category'] class AddTagType(Method): """ @@ -42,6 +37,6 @@ class AddTagType(Method): tag_type = TagType(self.api, tag_type_fields) tag_type.sync() - self.object_ids = [tag_type['tag_type_id']] + self.object_ids = [tag_type['tag_type_id']] return tag_type['tag_type_id']