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
Merge remote-tracking branch 'origin/pycurl' into planetlab-4_0-branch
[plcapi.git]
/
PLC
/
Methods
/
NotifyPersons.py
diff --git
a/PLC/Methods/NotifyPersons.py
b/PLC/Methods/NotifyPersons.py
index
b8c0979
..
70c273d
100644
(file)
--- a/
PLC/Methods/NotifyPersons.py
+++ b/
PLC/Methods/NotifyPersons.py
@@
-42,8
+42,7
@@
class NotifyPersons(Method):
Body = body)
# Logging variables
- self.object_type = "Person"
- self.object_ids = [person['person_id'] for person in persons]
+ self.event_objects = {'Person': [person['person_id'] for person in persons]}
self.message = subject
return 1