A disabled or diagnostic-mode node will contact PLC (download BM and interact
[plcapi.git] / PLC / Methods / DeleteKey.py
index 313c2a4..f887feb 100644 (file)
@@ -1,3 +1,4 @@
+# $Id$
 from PLC.Faults import *
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
@@ -40,7 +41,7 @@ class DeleteKey(Method):
         key.delete()
        
        # Logging variables
-       self.object_ids = [key['key_id']]
+       self.event_objects = {'Key': [key['key_id']]}
        self.message = 'Key %d deleted' % key['key_id']
 
         return 1