svn keywords
[plcapi.git] / PLC / Methods / DeleteRole.py
index e254a13..fb5a515 100644 (file)
@@ -1,3 +1,5 @@
+# $Id$
+# $URL$
 from PLC.Faults import *
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
@@ -33,6 +35,6 @@ class DeleteRole(Method):
         role = roles[0]
 
         role.delete()
-       self.object_ids = [role['role_id']]
+       self.event_objects = {'Role': [role['role_id']]}
 
         return 1