Fix lint errors

This commit is contained in:
Liam Marshall
2015-11-09 22:13:36 -06:00
parent e63fa279a4
commit 30c44ef1e2
@@ -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)