svn keywords
[plcapi.git] / PLC / Methods / AddAddressType.py
index 0dcc66d..ae88e58 100644 (file)
@@ -1,3 +1,5 @@
+# $Id$
+# $URL$
 from PLC.Faults import *
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
@@ -31,6 +33,6 @@ class AddAddressType(Method):
         address_type = AddressType(self.api, address_type_fields)
         address_type.sync()
 
-       self.object_ids = [address_type['address_type_id']]
+       self.event_objects = {'AddressType' : [address_type['address_type_id']]}
         
        return address_type['address_type_id']