Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Swartz <swartzcr@gmail.com>2017-08-28 21:45:42 +0300
committerGitHub <noreply@github.com>2017-08-28 21:45:42 +0300
commitdf71ec33b33c68461a992ac4dee9812c5748cd42 (patch)
tree77c20e217da930943b83f49f116b6cd79b996b56
parent2c9e072a9f178082ff15d8cd1612a0b67f46dd86 (diff)
switch from triple quotes to single quotesissue_4792
-rw-r--r--certbot-nginx/certbot_nginx/configurator.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/certbot-nginx/certbot_nginx/configurator.py b/certbot-nginx/certbot_nginx/configurator.py
index d77c5c2bc..0579c8d52 100644
--- a/certbot-nginx/certbot_nginx/configurator.py
+++ b/certbot-nginx/certbot_nginx/configurator.py
@@ -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: