equal
deleted
inserted
replaced
231 except Exception: |
231 except Exception: |
232 # may raise an error during deletion process, for instance due to |
232 # may raise an error during deletion process, for instance due to |
233 # missing required relation |
233 # missing required relation |
234 title = '#%s' % self.entity.eid |
234 title = '#%s' % self.entity.eid |
235 self._cw.transaction_data.setdefault('pendingchanges', []).append( |
235 self._cw.transaction_data.setdefault('pendingchanges', []).append( |
236 ('delete_entity', (self.entity.eid, self.entity.__regid__, title))) |
236 ('delete_entity', (self.entity.eid, self.entity.cw_etype, title))) |
237 return True |
237 return True |