- refactored marc's kupdate.sh into a new script kvariant.sh
[plcapi.git] / PLC / Methods / UpdatePCU.py
index 1c915ac..d92d799 100644 (file)
@@ -1,3 +1,4 @@
+# $Id$
 from PLC.Faults import *
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
@@ -46,7 +47,7 @@ class UpdatePCU(Method):
         pcu.sync()
        
        # Logging variables
-       self.object_ids = [pcu['pcu_id']]
+       self.event_objects = {'PCU': [pcu['pcu_id']]}
        self.message = 'PCU %d updated: %s' % \
                (pcu['pcu_id'], ", ".join(pcu_fields.keys()))
         return 1