From eb5e345c3ec25d82d7bb519e2d6fc82448dc6433 Mon Sep 17 00:00:00 2001 From: sagi Date: Sun, 22 Nov 2015 18:40:19 +0000 Subject: [PATCH] change vhost to ssl_vhost, add header_name explanation in comments. --- letsencrypt-apache/letsencrypt_apache/configurator.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/letsencrypt-apache/letsencrypt_apache/configurator.py b/letsencrypt-apache/letsencrypt_apache/configurator.py index 189af25e0..b3b5df392 100644 --- a/letsencrypt-apache/letsencrypt_apache/configurator.py +++ b/letsencrypt-apache/letsencrypt_apache/configurator.py @@ -772,9 +772,12 @@ class ApacheConfigurator(augeas_configurator.AugeasConfigurator): Checks to see if virtualhost already contains a header_name header - :param vhost: vhost to check + :param ssl_vhost: vhost to check :type vhost: :class:`~letsencrypt_apache.obj.VirtualHost` + :param header_name: a header name, e.g: Strict-Transport-Security + :type str + :returns: boolean :rtype: (bool)