get rid of svn keywords once and for good
[plcapi.git] / PLC / Methods / UpdateAddress.py
index 2fdc194..03acb37 100644 (file)
@@ -46,4 +46,9 @@ 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