web/views/editcontroller.py
changeset 5575 8a531340c3ef
parent 5569 cb14af012a96
child 5676 aa04ccb8dd62
--- a/web/views/editcontroller.py	Fri May 21 18:40:26 2010 +0200
+++ b/web/views/editcontroller.py	Tue May 25 09:50:12 2010 +0200
@@ -160,8 +160,6 @@
     def _insert_entity(self, etype, eid, rqlquery):
         rql = rqlquery.insert_query(etype)
         try:
-            # get the new entity (in some cases, the type might have
-            # changed as for the File --> Image mutation)
             entity = self._cw.execute(rql, rqlquery.kwargs).get_entity(0, 0)
             neweid = entity.eid
         except ValidationError, ex: