svn keywords
[plcapi.git] / PLC / Methods / UpdateKey.py
index a1754ff..1294fc0 100644 (file)
@@ -1,3 +1,5 @@
+# $Id$
+# $URL$
 from PLC.Faults import *
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
@@ -49,7 +51,7 @@ class UpdateKey(Method):
         key.sync()
        
        # Logging variables
-       self.object_ids = [key['key_id']]
+       self.event_objects = {'Key': [key['key_id']]}
        self.message = 'key %d updated: %s' % \
                (key['key_id'], ", ".join(key_fields.keys()))
         return 1