From 980b4ac3fae6ccc9d4def3fdeb35b160af55bdca Mon Sep 17 00:00:00 2001 From: Joona Hoikkala Date: Fri, 6 Nov 2015 20:06:56 +0200 Subject: [PATCH] PEP8 and sphinx documentation fixes --- letsencrypt-apache/letsencrypt_apache/configurator.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/letsencrypt-apache/letsencrypt_apache/configurator.py b/letsencrypt-apache/letsencrypt_apache/configurator.py index 9da00b5c3..d3849b7fd 100644 --- a/letsencrypt-apache/letsencrypt_apache/configurator.py +++ b/letsencrypt-apache/letsencrypt_apache/configurator.py @@ -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."""