method

write_attribute_with_dirty

write_attribute_with_dirty(attr, value)
private

Wrap write_attribute to remember original attribute value.