+# $Id$
+# $URL$
from PLC.Faults import *
from PLC.Method import Method
from PLC.Parameter import Parameter, Mixed
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()))
+
+ # Logging variables
+ self.event_objects = {'PCU': [pcu['pcu_id']]}
+ self.message = 'PCU %d updated: %s' % \
+ (pcu['pcu_id'], ", ".join(pcu_fields.keys()))
return 1