changeset 8483 | 4ba11607d84a |
parent 8190 | 2a3c1b787688 |
child 8556 | bbe0d6985e59 |
--- a/hooks/workflow.py Tue Jul 17 17:16:28 2012 +0200 +++ b/hooks/workflow.py Tue Jul 17 12:24:46 2012 +0200 @@ -335,7 +335,7 @@ return entity = self._cw.entity_from_eid(self.eidfrom) try: - entity.set_attributes(modification_date=datetime.now()) + entity.cw_set(modification_date=datetime.now()) except RepositoryError, ex: # usually occurs if entity is coming from a read-only source # (eg ldap user)