diff options
author | Noah Swartz <swartzcr@gmail.com> | 2017-08-28 21:45:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-28 21:45:42 +0300 |
commit | df71ec33b33c68461a992ac4dee9812c5748cd42 (patch) | |
tree | 77c20e217da930943b83f49f116b6cd79b996b56 | |
parent | 2c9e072a9f178082ff15d8cd1612a0b67f46dd86 (diff) |
switch from triple quotes to single quotesissue_4792
-rw-r--r-- | certbot-nginx/certbot_nginx/configurator.py | 10 |
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: |