add debug to kargs for the no-hangcheck option
[plcapi.git] / PLC / Methods / UpdatePeer.py
index dd5f2c8..a3c99a3 100644 (file)
@@ -1,3 +1,4 @@
+# $Id#
 from PLC.Faults import *
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
@@ -45,6 +46,6 @@ class UpdatePeer(Method):
         peer.sync()
 
         # Log affected objects
-       self.object_ids = [peer['peer_id']]
+       self.event_objects = {'Peer': [peer['peer_id']]}
 
        return 1