rename initscript_body into initscript_code
[plcapi.git] / PLC / Methods / UpdateMessage.py
index 61ac458..cc955f9 100644 (file)
@@ -1,3 +1,5 @@
+# $Id$
+# $URL$
 from PLC.Faults import *
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
@@ -38,6 +40,6 @@ class UpdateMessage(Method):
 
         message.update(message_fields)
         message.sync()
-       self.object_ids = [message['message_id']]
+        self.event_objects = {'Message': [message['message_id']]}
 
         return 1