Make options into NodeTags.
[plcapi.git] / PLC / Methods / AddPCU.py
index 2d5b034..4e7ecd9 100644 (file)
@@ -1,3 +1,4 @@
+# $Id$
 from PLC.Faults import *
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
@@ -53,7 +54,8 @@ class AddPCU(Method):
         pcu.sync()
 
        # Logging variables
-       self.object_ids = [site['site_id'], pcu['pcu_id']]
+       self.event_objects = {'Site': [site['site_id']],
+                             'PCU': [pcu['pcu_id']]}
        self.message = 'PCU %d added site %s' % \
                (pcu['pcu_id'], site['site_id'])