web/views/editcontroller.py
branchstable
changeset 2256 0b915d6f4264
parent 2255 c346af0727ca
child 2650 18aec79ec3a3
--- 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']