borgend/backup.py

changeset 100
b141bed9e718
parent 98
9052e427ea39
child 104
d33e2d7dbeb1
equal deleted inserted replaced
99:281bab8361c8 100:b141bed9e718
534 with self._cond: 534 with self._cond:
535 while not self._terminate: 535 while not self._terminate:
536 try: 536 try:
537 assert(not self.current_operation) 537 assert(not self.current_operation)
538 self.__main_thread_wait_schedule() 538 self.__main_thread_wait_schedule()
539 if (not self._terminate_or_pause() and self.scheduled_operation 539 if ((not self._terminate_or_pause()) and self.scheduled_operation
540 and self.scheduled_operation.start_time <= MonotonicTime.now()): 540 and self.scheduled_operation.start_time <= MonotonicTime.now()):
541 self.__main_thread_queue_and_launch() 541 self.__main_thread_queue_and_launch()
542 except Exception as err: 542 except Exception as err:
543 self.logger.exception("Exception in backup '%s'" % self.backup_name) 543 self.logger.exception("Exception in backup '%s'" % self.backup_name)
544 finally: 544 finally:

mercurial