mirror of
https://github.com/certbot/certbot.git
synced 2026-07-16 23:11:32 -04:00
PEP8 and sphinx documentation fixes
This commit is contained in:
parent
effc1ed8e4
commit
980b4ac3fa
1 changed files with 4 additions and 3 deletions
|
|
@ -340,12 +340,13 @@ class ApacheConfigurator(augeas_configurator.AugeasConfigurator):
|
|||
"""Return all non mod_macro vhosts
|
||||
|
||||
:param vhosts: List of VirtualHosts
|
||||
:type vhosts: (:class:`list` of :class:`~letsencrypt_apache.obj.VirtualHost`)
|
||||
:type vhosts: :class:`list` of
|
||||
:class:`~letsencrypt_apache.obj.VirtualHost`
|
||||
|
||||
:returns: List of VirtualHosts without mod_macro
|
||||
:rtype: (:class:`list` of :class:`~letsencrypt_apache.obj.VirtualHost`)
|
||||
:rtype: :class:`list` of :class:`~letsencrypt_apache.obj.VirtualHost`
|
||||
"""
|
||||
return [vh for vh in vhosts if vh.modmacro == False]
|
||||
return [vh for vh in vhosts if vh.modmacro is False]
|
||||
|
||||
def _non_default_vhosts(self):
|
||||
"""Return all non _default_ only vhosts."""
|
||||
|
|
|
|||
Loading…
Reference in a new issue