Fix bad indentation

This commit is contained in:
VirtuBox
2019-07-31 20:26:52 +02:00
parent 1efea52369
commit 2077fc0a7c
2 changed files with 5 additions and 5 deletions

View File

@@ -1332,7 +1332,7 @@ def site_url_https(self, domain):
WOVariables.wo_wpcli_path, domain))
except CommandExecutionError as e:
Log.debug(self, "{0}".format(e))
raise SiteError("plugin activation failed")
raise SiteError("migration to https failed")
Log.info(
self, "Site address updated "
"successfully to https://{0}".format(domain))

View File

@@ -35,11 +35,11 @@ class WOShellExec():
.format(cmd_stdout, cmd_stderr))
return False
except OSError as e:
Log.debug(self, str(e))
raise CommandExecutionError
Log.debug(self, str(e))
raise CommandExecutionError
except Exception as e:
Log.debug(self, str(e))
raise CommandExecutionError
Log.debug(self, str(e))
raise CommandExecutionError
def invoke_editor(self, filepath, errormsg=''):
"""