mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 03:41:53 +02:00
Fix lint errors
This commit is contained in:
@@ -214,13 +214,13 @@ class ApacheConfigurator(augeas_configurator.AugeasConfigurator):
|
||||
# Assign the final directives; order is maintained in find_dir
|
||||
if self.version >= (2, 4, 8):
|
||||
logger.debug("Apache version (%s) is >= 2.4.8",
|
||||
".".join(map(str,self.version)))
|
||||
".".join(str(i) for i in self.version))
|
||||
set_cert_path = fullchain_path
|
||||
self.aug.set(path["cert_path"][-1], fullchain_path)
|
||||
self.aug.set(path["cert_key"][-1], key_path)
|
||||
elif self.version < (2, 4, 8):
|
||||
logger.debug("Apache version (%s) is < 2.4.8",
|
||||
".".join(map(str,self.version)))
|
||||
".".join(str(i) for i in self.version))
|
||||
set_cert_path = cert_path
|
||||
self.aug.set(path["cert_path"][-1], cert_path)
|
||||
self.aug.set(path["cert_key"][-1], key_path)
|
||||
|
||||
Reference in New Issue
Block a user