1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-26 07:41:33 +03:00

make a copy of keys in all python versions (#4614)

* make a copy of keys in all python versions

* documentation++
This commit is contained in:
Brad Warren
2017-05-03 18:42:47 -07:00
committed by GitHub
parent 13c88f1c02
commit 4d0cf8000a

View File

@@ -603,7 +603,9 @@ class ApacheConfigurator(augeas_configurator.AugeasConfigurator):
file_paths = {}
internal_paths = defaultdict(set)
vhs = []
for vhost_path in self.parser.parser_paths.keys():
# Make a list of parser paths because the parser_paths
# dictionary may be modified during the loop.
for vhost_path in list(self.parser.parser_paths):
paths = self.aug.match(
("/files%s//*[label()=~regexp('%s')]" %
(vhost_path, parser.case_i("VirtualHost"))))