X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=PLC%2FMethods%2FDeleteAddressType.py;h=dae2858b124c301a57620636eca9d4dfa57e824f;hb=b9b8ba17171d7d5abe9eb6d8008a1e7e94153ba5;hp=9dbe6522dcf5d00f72dfd5ebffa7866e6c86f615;hpb=d4c363a3ee55334eacd91f303adf6ecc20055d1e;p=plcapi.git diff --git a/PLC/Methods/DeleteAddressType.py b/PLC/Methods/DeleteAddressType.py index 9dbe652..dae2858 100644 --- a/PLC/Methods/DeleteAddressType.py +++ b/PLC/Methods/DeleteAddressType.py @@ -1,3 +1,5 @@ +# $Id$ +# $URL$ from PLC.Faults import * from PLC.Method import Method from PLC.Parameter import Parameter, Mixed @@ -28,6 +30,6 @@ class DeleteAddressType(Method): raise PLCInvalidArgument, "No such address type" address_type = address_types[0] address_type.delete() - self.object_ids = [address_type['address_type_id']] + self.event_objects = {'AddressType': [address_type['address_type_id']]} return 1