Fix bad indentation
This commit is contained in:
@@ -1332,7 +1332,7 @@ def site_url_https(self, domain):
|
|||||||
WOVariables.wo_wpcli_path, domain))
|
WOVariables.wo_wpcli_path, domain))
|
||||||
except CommandExecutionError as e:
|
except CommandExecutionError as e:
|
||||||
Log.debug(self, "{0}".format(e))
|
Log.debug(self, "{0}".format(e))
|
||||||
raise SiteError("plugin activation failed")
|
raise SiteError("migration to https failed")
|
||||||
Log.info(
|
Log.info(
|
||||||
self, "Site address updated "
|
self, "Site address updated "
|
||||||
"successfully to https://{0}".format(domain))
|
"successfully to https://{0}".format(domain))
|
||||||
|
|||||||
@@ -35,11 +35,11 @@ class WOShellExec():
|
|||||||
.format(cmd_stdout, cmd_stderr))
|
.format(cmd_stdout, cmd_stderr))
|
||||||
return False
|
return False
|
||||||
except OSError as e:
|
except OSError as e:
|
||||||
Log.debug(self, str(e))
|
Log.debug(self, str(e))
|
||||||
raise CommandExecutionError
|
raise CommandExecutionError
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
Log.debug(self, str(e))
|
Log.debug(self, str(e))
|
||||||
raise CommandExecutionError
|
raise CommandExecutionError
|
||||||
|
|
||||||
def invoke_editor(self, filepath, errormsg=''):
|
def invoke_editor(self, filepath, errormsg=''):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user