mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
fix lints
This commit is contained in:
parent
9e4718129c
commit
550a4e4b41
2 changed files with 4 additions and 2 deletions
|
|
@ -823,7 +823,8 @@ class ApacheConfigurator(common.Configurator):
|
|||
|
||||
:param str target_name: domain handled by the desired vhost
|
||||
:param vhosts: vhosts to consider
|
||||
:type vhosts: `collections.Iterable` of :class:`~certbot._internal.plugins.apache.obj.VirtualHost`
|
||||
:type vhosts: `collections.Iterable` of
|
||||
:class:`~certbot._internal.plugins.apache.obj.VirtualHost`
|
||||
:param bool filter_defaults: whether a vhost with a _default_
|
||||
addr is acceptable
|
||||
|
||||
|
|
|
|||
|
|
@ -286,7 +286,8 @@ class NginxParser:
|
|||
def has_ssl_on_directive(self, vhost: obj.VirtualHost) -> bool:
|
||||
"""Does vhost have ssl on for all ports?
|
||||
|
||||
:param :class:`~certbot._internal.plugins.nginx.obj.VirtualHost` vhost: The vhost in question
|
||||
:param :class:`~certbot._internal.plugins.nginx.obj.VirtualHost`
|
||||
vhost: The vhost in question
|
||||
|
||||
:returns: True if 'ssl on' directive is included
|
||||
:rtype: bool
|
||||
|
|
|
|||
Loading…
Reference in a new issue