mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 16:22:18 -04:00
address comments
This commit is contained in:
parent
8bb02b80c1
commit
6aabb3839f
3 changed files with 1 additions and 5 deletions
|
|
@ -22,7 +22,6 @@ class DvsniPerformTest(util.ApacheTest):
|
|||
config = util.get_apache_configurator(
|
||||
self.config_path, self.config_dir, self.work_dir)
|
||||
config.config.dvsni_port = 443
|
||||
config.config.func.__name__ = "auth"
|
||||
|
||||
from letsencrypt_apache import dvsni
|
||||
self.sni = dvsni.ApacheDvsni(config)
|
||||
|
|
|
|||
|
|
@ -92,9 +92,6 @@ def get_apache_configurator(
|
|||
|
||||
config.prepare()
|
||||
|
||||
# Simulate a 'run' by default
|
||||
config.config.func.__name__ = "run"
|
||||
|
||||
return config
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ class Reverter(object):
|
|||
backups = os.listdir(self.config.backup_dir)
|
||||
backups.sort()
|
||||
|
||||
if len(backups) == 0:
|
||||
if not backups:
|
||||
logger.warning(
|
||||
"Let's Encrypt hasn't modified your configuration, so rollback "
|
||||
"isn't available.")
|
||||
|
|
|
|||
Loading…
Reference in a new issue