def destroy(self, path): log.debug('Stopping workers') shutting_down.set() fetch.set() for worker in self.workers: worker.join() log.debug('Workers stopped') #shutil.rmtree(self.repo_path) log.info('Successfully umounted %s', self.mount_path)
def destroy(self, path): log.debug('Stopping workers') shutting_down.set() fetch.set() for worker in self.workers: worker.join() log.debug('Workers stopped') shutil.rmtree(self.repo_path) log.info('Successfully umounted %s', self.mount_path)