equal
deleted
inserted
replaced
850 print(operation) |
850 print(operation) |
851 operation.processed = 'postcommit' |
851 operation.processed = 'postcommit' |
852 try: |
852 try: |
853 operation.handle_event('postcommit_event') |
853 operation.handle_event('postcommit_event') |
854 except BaseException: |
854 except BaseException: |
|
855 if self.repo.config.mode == 'test': |
|
856 raise |
855 self.critical('error while postcommit', |
857 self.critical('error while postcommit', |
856 exc_info=sys.exc_info()) |
858 exc_info=sys.exc_info()) |
857 self.debug('postcommit transaction %s done', self) |
859 self.debug('postcommit transaction %s done', self) |
858 return self.transaction_uuid(set=False) |
860 return self.transaction_uuid(set=False) |
859 finally: |
861 finally: |