incorporate brad's comments

This commit is contained in:
Noah Swartz
2016-07-11 13:20:31 -07:00
parent 1bbfde1771
commit 8f1a141d2a
7 changed files with 3 additions and 7 deletions
@@ -1080,7 +1080,7 @@ class ApacheConfigurator(augeas_configurator.AugeasConfigurator):
if not use_stapling_aug_path:
self.parser.add_dir(ssl_vhost.path, "SSLUseStapling", "on")
ssl_vhost_aug_path = parser.get_aug_path(ssl_vhost.filep)
ssl_vhost_aug_path = self._escape(parser.get_aug_path(ssl_vhost.filep))
# Check if there's an existing SSLStaplingCache directive.
stapling_cache_aug_path = self.parser.find_dir('SSLStaplingCache',
@@ -1,4 +1,4 @@
# pylint: disable=too-many-public-methods, protected-access
# pylint: disable=too-many-public-methods
"""Test for certbot_apache.configurator."""
import os
import shutil
@@ -1188,6 +1188,7 @@ class MultipleVhostsTest(util.ApacheTest):
class AugeasVhostsTest(util.ApacheTest):
"""Test vhosts with illegal names dependant on augeas version."""
# pylint: disable=protected-access
def setUp(self): # pylint: disable=arguments-differ
td = "debian_apache_2_4/augeas_vhosts"
@@ -1 +0,0 @@
../sites-available/000-default.conf
@@ -1 +0,0 @@
../sites-available/certbot.conf
@@ -1 +0,0 @@
../sites-available/encryption-example.conf
@@ -1 +0,0 @@
../sites-available/mod_macro-example.conf
@@ -1 +0,0 @@
../sites-available/ocsp-ssl.conf