def __init__(self, manager_handler, filename, stopper): ProcessFiles.__init__(self, manager_handler, filename, manager_handler.get_client(), stopper)
def unlock_and_stop(self, reason, send_err_request=None): logger.info("{0}: Unlocking '{1}' due to {2}.".format(self.thread_tag, self.status_type, reason)) ProcessFiles.unlock_and_stop(self, reason, send_err_request)
def __init__(self, manager_handler, filename, stopper): ProcessFiles.__init__(self, manager_handler, filename, manager_handler.name, stopper) self.thread_tag = "[Worker] [Integrity-R ]"