From a29984f0493354db24449891c484a625c6acea7f Mon Sep 17 00:00:00 2001 From: James Kasten Date: Tue, 20 Jan 2015 14:03:05 -0800 Subject: [PATCH] Remove TODO item/fix formatting. --- letsencrypt/client/apache/parser.py | 2 +- letsencrypt/client/augeas_configurator.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/letsencrypt/client/apache/parser.py b/letsencrypt/client/apache/parser.py index e9dd7d8a3..b6e6a8bc6 100644 --- a/letsencrypt/client/apache/parser.py +++ b/letsencrypt/client/apache/parser.py @@ -289,7 +289,7 @@ class ApacheParser(object): self.aug.set("/augeas/load/Httpd/excl[%d]" % (i+1), excl[i]) self.aug.load() - + def _set_locations(self, ssl_options): """Set default location for directives. diff --git a/letsencrypt/client/augeas_configurator.py b/letsencrypt/client/augeas_configurator.py index 881404db1..74c548def 100644 --- a/letsencrypt/client/augeas_configurator.py +++ b/letsencrypt/client/augeas_configurator.py @@ -36,8 +36,7 @@ class AugeasConfigurator(object): "progress": CONFIG.IN_PROGRESS_DIR} self.direc = direc - # TODO: this instantiation can be optimized to only load - # relevant files - I believe -> NO_MODL_AUTOLOAD + # Set Augeas flags to not save backup (we do it ourselves) # Set Augeas to not load anything by default my_flags = augeas.Augeas.NONE | augeas.Augeas.NO_MODL_AUTOLOAD