1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-21 19:01:07 +03:00

PEP8 and sphinx documentation fixes

This commit is contained in:
Joona Hoikkala
2015-11-06 20:06:56 +02:00
parent effc1ed8e4
commit 980b4ac3fa

View File

@@ -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."""