equal
deleted
inserted
replaced
497 operation.failed = True |
497 operation.failed = True |
498 for operation in processed: |
498 for operation in processed: |
499 operation.handle_event('revert%s_event' % trstate) |
499 operation.handle_event('revert%s_event' % trstate) |
500 # XXX use slice notation since self.pending_operations is a |
500 # XXX use slice notation since self.pending_operations is a |
501 # read-only property. |
501 # read-only property. |
502 self.pending_operations[:] = processed + self.pending_operations |
502 self.pending_operations[:] = processed + self.pending_operations |
503 self.rollback(reset_pool) |
503 self.rollback(reset_pool) |
504 raise |
504 raise |
505 self.pool.commit() |
505 self.pool.commit() |
506 self.commit_state = trstate = 'postcommit' |
506 self.commit_state = trstate = 'postcommit' |
507 while self.pending_operations: |
507 while self.pending_operations: |