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'): |