mirror of
https://github.com/certbot/certbot.git
synced 2026-01-24 19:22:07 +03:00
Remove the test path from augeas even if failing
This commit is contained in:
@@ -184,6 +184,7 @@ class ApacheConfigurator(augeas_configurator.AugeasConfigurator):
|
||||
matches = self.aug.match(
|
||||
"/test//*[self::arg=~regexp('argument', 'i')]")
|
||||
except RuntimeError:
|
||||
self.aug.remove("/test/path")
|
||||
return None
|
||||
self.aug.remove("/test/path")
|
||||
return matches
|
||||
|
||||
Reference in New Issue
Block a user