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
This commit was manufactured by cvs2svn to create branch
[plcapi.git]
/
PLC
/
Methods
/
UpdatePCU.py
diff --git
a/PLC/Methods/UpdatePCU.py
b/PLC/Methods/UpdatePCU.py
index
e22227b
..
1c915ac
100644
(file)
--- a/
PLC/Methods/UpdatePCU.py
+++ b/
PLC/Methods/UpdatePCU.py
@@
-44,5
+44,9
@@
class UpdatePCU(Method):
pcu.update(pcu_fields)
pcu.sync()
-
+
+ # Logging variables
+ self.object_ids = [pcu['pcu_id']]
+ self.message = 'PCU %d updated: %s' % \
+ (pcu['pcu_id'], ", ".join(pcu_fields.keys()))
return 1