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
propagate caller when a method calls another method
[plcapi.git]
/
PLC
/
Methods
/
AddRole.py
diff --git
a/PLC/Methods/AddRole.py
b/PLC/Methods/AddRole.py
index
0667c77
..
d57d260
100644
(file)
--- a/
PLC/Methods/AddRole.py
+++ b/
PLC/Methods/AddRole.py
@@
-1,4
+1,5
@@
-# $Id#
+# $Id$
+# $URL$
from PLC.Faults import *
from PLC.Method import Method
from PLC.Parameter import Parameter, Mixed
from PLC.Faults import *
from PLC.Method import Method
from PLC.Parameter import Parameter, Mixed
@@
-28,6
+29,6
@@
class AddRole(Method):
role['role_id'] = role_id
role['name'] = name
role.sync(insert = True)
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
return 1