svn kwds
[plcapi.git] / PLC / Methods / AddTagType.py
index 978af37..4319c12 100644 (file)
@@ -1,3 +1,5 @@
+# $Id$
+# $URL$
 #
 # Thierry Parmentelat - INRIA
 #
@@ -12,7 +14,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):
     """
@@ -40,6 +42,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']