git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
svn keywords
[plcapi.git]
/
PLC
/
Methods
/
DeleteRole.py
diff --git
a/PLC/Methods/DeleteRole.py
b/PLC/Methods/DeleteRole.py
index
e254a13
..
fb5a515
100644
(file)
--- a/
PLC/Methods/DeleteRole.py
+++ b/
PLC/Methods/DeleteRole.py
@@
-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