author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Fri, 03 Jul 2009 17:57:33 +0200 | |
branch | stable |
changeset 2256 | 0b915d6f4264 |
parent 2255 | c346af0727ca |
child 2257 | 2c9eceeaae6a |
--- a/web/views/editcontroller.py Fri Jul 03 17:57:19 2009 +0200 +++ b/web/views/editcontroller.py Fri Jul 03 17:57:33 2009 +0200 @@ -112,7 +112,6 @@ entity = execute(rql, formparams).get_entity(0, 0) eid = entity.eid except ValidationError, ex: - # ex.entity may be an int or an entity instance self._to_create[formparams['eid']] = ex.entity if self.req.json_request: # XXX (syt) why? ex.entity = formparams['eid']