borgend/backup.py

changeset 151
41adab2ef3f1
parent 148
ff975e768112
child 152
52362f545be1
equal deleted inserted replaced
150:f94987ced25e 151:41adab2ef3f1
366 self.current_operation.detail['progress_current_secondary']=archive_number 366 self.current_operation.detail['progress_current_secondary']=archive_number
367 self.current_operation.detail['progress_total_secondary']=of_total 367 self.current_operation.detail['progress_total_secondary']=of_total
368 status, callback=self.__status_unlocked() 368 status, callback=self.__status_unlocked()
369 369
370 elif t=='question_prompt' or t=='question_prompt_retry': 370 elif t=='question_prompt' or t=='question_prompt_retry':
371 self.logger.error('Did not expect to receive question prompt from borg') 371 self.logger.warn('Did not expect to receive question prompt from borg (%s)' % msg)
372 with self._cond: 372 #with self._cond:
373 self.current_operation.add_error(Errors.ERRORS) 373 # self.current_operation.add_error(Errors.ERRORS)
374 # TODO: terminate org? Send 'NO' reply? 374 # TODO: terminate org? Send 'NO' reply?
375 375
376 elif (t=='question_invalid_answer' or t=='question_accepted_default' 376 elif (t=='question_invalid_answer' or t=='question_accepted_default'
377 or t=='question_accepted_true' or t=='question_accepted_false' 377 or t=='question_accepted_true' or t=='question_accepted_false'
378 or t=='question_env_answer'): 378 or t=='question_env_answer'):

mercurial