branch | stable |
changeset 2878 | 03244a6d0283 |
parent 2499 | 26fb72e0af23 |
child 3690 | a5ef45850d23 |
--- a/sobjects/hooks.py Mon Aug 17 13:18:35 2009 +0200 +++ b/sobjects/hooks.py Mon Aug 17 13:18:45 2009 +0200 @@ -26,7 +26,8 @@ return entity = session.entity_from_eid(fromeid) try: - entity.set_attributes(modification_date=datetime.now()) + entity.set_attributes(modification_date=datetime.now(), + _cw_unsafe=True) except RepositoryError, ex: # usually occurs if entity is coming from a read-only source # (eg ldap user)