(self)
| 247 | shutil.rmtree(os.path.join(self._store_dir, dirpath), ignore_errors=True) |
| 248 | |
| 249 | def clear_ocsp_store(self): |
| 250 | assert len(self._store_dir) > 1 |
| 251 | dirpath = os.path.join(self._store_dir, "ocsp") |
| 252 | log.debug("clear ocsp store dir: %s" % dir) |
| 253 | if os.path.exists(dirpath): |
| 254 | shutil.rmtree(dirpath, ignore_errors=True) |
| 255 | |
| 256 | def authz_save(self, name, content): |
| 257 | dirpath = os.path.join(self._store_dir, 'staging', name) |