server/session.py
changeset 4517 0f3c10fc42b2
parent 4510 8dc44329f5c8
parent 4515 e8835c68f581
child 4533 05eadf88b797
equal deleted inserted replaced
4513:8abf464d2ffe 4517:0f3c10fc42b2
   499                 try:
   499                 try:
   500                     operation.handle_event('%s_event' % trstate)
   500                     operation.handle_event('%s_event' % trstate)
   501                 except:
   501                 except:
   502                     self.critical('error while %sing', trstate,
   502                     self.critical('error while %sing', trstate,
   503                                   exc_info=sys.exc_info())
   503                                   exc_info=sys.exc_info())
   504             self.debug('%s session %s done', trstate, self.id)
   504             self.info('%s session %s done', trstate, self.id)
   505         finally:
   505         finally:
   506             self._touch()
   506             self._touch()
   507             self.commit_state = None
   507             self.commit_state = None
   508             self.pending_operations[:] = []
   508             self.pending_operations[:] = []
   509             self.transaction_data.clear()
   509             self.transaction_data.clear()