mirror of
https://github.com/certbot/certbot.git
synced 2026-06-09 00:32:12 -04:00
fixed linting issues
This commit is contained in:
parent
0802ade04e
commit
b75b887a83
1 changed files with 2 additions and 2 deletions
|
|
@ -557,11 +557,11 @@ class ApacheConfigurator(augeas_configurator.AugeasConfigurator):
|
|||
|
||||
# search for NameVirtualHost directive for ip_addr
|
||||
# note ip_addr can be FQDN although Apache does not recommend it
|
||||
if (self.version >= (2,4)):
|
||||
if self.version >= (2, 4):
|
||||
return True
|
||||
else:
|
||||
self.save("don't lose config changes", True)
|
||||
return (self.parser.find_dir("NameVirtualHost", str(target_addr)))
|
||||
return self.parser.find_dir("NameVirtualHost", str(target_addr))
|
||||
|
||||
def add_name_vhost(self, addr):
|
||||
"""Adds NameVirtualHost directive for given address.
|
||||
|
|
|
|||
Loading…
Reference in a new issue