X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FUpdateAddress.py;h=03acb37c2f226a3d4f27117c0b3cc26471c1686d;hb=2f77e84cea805ce9f44a471aab3ebaf2cee8d1a9;hp=bee780f5f6a6ff22021560dae7e6b57512663dc6;hpb=77e4f177dfee85705c36298c3230b2e4a3e73467;p=plcapi.git diff --git a/PLC/Methods/UpdateAddress.py b/PLC/Methods/UpdateAddress.py index bee780f..03acb37 100644 --- a/PLC/Methods/UpdateAddress.py +++ b/PLC/Methods/UpdateAddress.py @@ -1,4 +1,3 @@ -# $Id$ from PLC.Faults import * from PLC.Method import Method from PLC.Parameter import Parameter, Mixed @@ -46,10 +45,10 @@ class UpdateAddress(Method): address.update(address_fields) address.sync() - - # Logging variables - self.event_objects = {'Address': [address['address_id']]} - self.message = 'Address %d updated: %s' % \ - (address['address_id'], ", ".join(address_fields.keys())) - - return 1 + + # Logging variables + self.event_objects = {'Address': [address['address_id']]} + self.message = 'Address %d updated: %s' % \ + (address['address_id'], ", ".join(address_fields.keys())) + + return 1