mirror of
https://github.com/certbot/certbot.git
synced 2026-08-04 16:13:23 +02:00
I was told to cleanup after myself
This commit is contained in:
@@ -221,7 +221,8 @@ to serve all files under specified web root ({0})."""
|
|||||||
|
|
||||||
def cleanup(self, achalls): # pylint: disable=missing-docstring
|
def cleanup(self, achalls): # pylint: disable=missing-docstring
|
||||||
for achall in achalls:
|
for achall in achalls:
|
||||||
root_path = self.full_roots[achall.domain]
|
root_path = self.full_roots.get(achall.domain, None)
|
||||||
|
if root_path is not None:
|
||||||
validation_path = self._get_validation_path(root_path, achall)
|
validation_path = self._get_validation_path(root_path, achall)
|
||||||
logger.debug("Removing %s", validation_path)
|
logger.debug("Removing %s", validation_path)
|
||||||
os.remove(validation_path)
|
os.remove(validation_path)
|
||||||
|
|||||||
Reference in New Issue
Block a user