remove simplejson dependency
[plcapi.git] / PLC / Methods / AddRole.py
index 0667c77..d42858f 100644 (file)
@@ -1,4 +1,3 @@
-# $Id#
 from PLC.Faults import *
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
@@ -28,6 +27,6 @@ class AddRole(Method):
         role['role_id'] = role_id
         role['name'] = name
         role.sync(insert = True)
-       self.event_objects = {'Role': [role['role_id']]}
+        self.event_objects = {'Role': [role['role_id']]}
 
         return 1