This commit was manufactured by cvs2svn to create branch
[plcapi.git] / PLC / Methods / UpdatePCU.py
index 99415f2..1c915ac 100644 (file)
@@ -44,6 +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