def reset_upload(self, archive, times=3):
        try:
            return UploadState.reset(archive)
        except __HOLE__ as e:
            if e.errno == errno.EACCES and times > 0:
                args = [self.reset_upload, archive, times-1]
                return task.deferLater(reactor, 2, *args)
            raise
dataset/ETHPy150Open longaccess/longaccess-client/lacli/server/__init__.py/LaServerCommand.reset_upload