svn keywords
[plcapi.git] / PLC / Methods / DeletePCU.py
index 0d7a09a..6b6c45f 100644 (file)
@@ -1,3 +1,5 @@
+# $Id$
+# $URL$
 from PLC.Faults import *
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
@@ -37,7 +39,7 @@ class DeletePCU(Method):
         pcu.delete()
        
        # Logging variables
-       self.object_ids = [pcu['pcu_id']]
+       self.event_objects = {'PCU': [pcu['pcu_id']]}
        self.message = 'PCU %d deleted' % pcu['pcu_id']
 
         return 1