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
/
AddPCU.py
diff --git
a/PLC/Methods/AddPCU.py
b/PLC/Methods/AddPCU.py
index
2d5b034
..
3c46194
100644
(file)
--- a/
PLC/Methods/AddPCU.py
+++ b/
PLC/Methods/AddPCU.py
@@
-53,7
+53,8
@@
class AddPCU(Method):
pcu.sync()
# Logging variables
- self.object_ids = [site['site_id'], pcu['pcu_id']]
+ self.event_objects = {'Site': [site['site_id']],
+ 'PCU': [pcu['pcu_id']]}
self.message = 'PCU %d added site %s' % \
(pcu['pcu_id'], site['site_id'])