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

switch from triple quotes to single quotes

This commit is contained in:
Noah Swartz
2017-08-28 13:45:42 -05:00
committed by GitHub
parent 2c9e072a9f
commit df71ec33b3

View File

@@ -236,11 +236,11 @@ class NginxConfigurator(common.Plugin):
if not vhost:
# No matches. Raise a misconfiguration error.
raise errors.MisconfigurationError(
"""Cannot find a VirtualHost matching domain %s.
In order for Certbot to correctly perform the challenge
please add a corresponding server_name directive to your
nginx configuration:
https://nginx.org/en/docs/http/server_names.html""" % (target_name))
("Cannot find a VirtualHost matching domain %s. "
"In order for Certbot to correctly perform the challenge "
"please add a corresponding server_name directive to your "
"nginx configuration: "
"https://nginx.org/en/docs/http/server_names.html") % (target_name))
else:
# Note: if we are enhancing with ocsp, vhost should already be ssl.
if not vhost.ssl: