def METHOD_NAME(self):
    if not os.path.exists(self.path):
        return
    if protected_dir(self.path):
        self.log.warning("cowardly refuse to purge %s", self.path)
    self.log.info("purge %s", self.path)
    shutil.rmtree(self.path)