From 83fc345bc6588dc96b7766abdc02112b26b0643a Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Sun, 17 Mar 2019 18:21:59 +0100 Subject: [PATCH] fix identation --- wo/cli/plugins/site_functions.py | 38 ++++++++++++++++---------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/wo/cli/plugins/site_functions.py b/wo/cli/plugins/site_functions.py index 56f6ca5..166db96 100644 --- a/wo/cli/plugins/site_functions.py +++ b/wo/cli/plugins/site_functions.py @@ -1257,16 +1257,16 @@ def setupLetsEncrypt(self, wo_domain_name): WOGit.add(self, ["/etc/letsencrypt"], msg="Adding letsencrypt folder") - except IOError as e: - Log.debug(self, str(e)) - Log.debug(self, "Error occured while generating " - "ssl.conf") - else: - Log.error(self, "Unable to install certificate", False) - Log.error(self, "Please make sure that your site is pointed to \n" - "same server on which " - "you are running Let\'s Encrypt Client " - "\n to allow it to verify the site automatically.") + except IOError as e: + Log.debug(self, str(e)) + Log.debug(self, "Error occured while generating " + "ssl.conf") + else: + Log.error(self, "Unable to install certificate", False) + Log.error(self, "Please make sure that your site is pointed to \n" + "same server on which " + "you are running Let\'s Encrypt Client " + "\n to allow it to verify the site automatically.") # setup letsencrypt for a subdomain @@ -1329,16 +1329,16 @@ def setupLetsEncryptSubdomain(self, wo_domain_name): WOGit.add(self, ["/etc/letsencrypt"], msg="Adding letsencrypt folder") - except IOError as e: - Log.debug(self, str(e)) - Log.debug(self, "Error occured while generating " + except IOError as e: + Log.debug(self, str(e)) + Log.debug(self, "Error occured while generating " "ssl.conf") - else: - Log.error(self, "Unable to install certificate", False) - Log.error(self, "Please make sure that your site is pointed to \n" - "same server on which " - "you are running Let\'s Encrypt Client " - "\n to allow it to verify the site automatically.") + else: + Log.error(self, "Unable to install certificate", False) + Log.error(self, "Please make sure that your site is pointed to \n" + "same server on which " + "you are running Let\'s Encrypt Client " + "\n to allow it to verify the site automatically.") # letsencrypt cert renewal