From 5ebe2cdb4782317cb136f64d5ec22eda0cda5be7 Mon Sep 17 00:00:00 2001 From: harshadyeola Date: Tue, 17 Mar 2015 18:26:26 +0530 Subject: [PATCH] wp core download failed issue handled --- ee/cli/plugins/site_functions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ee/cli/plugins/site_functions.py b/ee/cli/plugins/site_functions.py index 5ab34e44..5b1aa88a 100644 --- a/ee/cli/plugins/site_functions.py +++ b/ee/cli/plugins/site_functions.py @@ -156,7 +156,8 @@ def setupwordpress(self, data): Log.info(self, "Downloading Wordpress \t\t", end='') EEFileUtils.chdir(self, '{0}/htdocs/'.format(ee_site_webroot)) - EEShellExec.cmd_exec(self, "wp --allow-root core download") + EEShellExec.cmd_exec(self, "wp --allow-root core download") or + Log.error("Unable to download wordpress core") Log.info(self, "[" + Log.ENDC + "Done" + Log.OKBLUE + "]") if not (data['ee_db_name'] and data['ee_db_user'] and data['ee_db_pass']):