From 8f129924bff13c809f52ec2d3fd39ee9f2b5e929 Mon Sep 17 00:00:00 2001 From: harshadyeola Date: Tue, 24 Feb 2015 19:40:41 +0530 Subject: [PATCH] Fixed #442 Site create issue --- ee/cli/plugins/site.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ee/cli/plugins/site.py b/ee/cli/plugins/site.py index 6c99e899..2d66bb51 100644 --- a/ee/cli/plugins/site.py +++ b/ee/cli/plugins/site.py @@ -981,7 +981,7 @@ class EESiteUpdateController(CementBaseController): Log.info(self, "\n\n" + Log.ENDC + "WordPress admin user :" " {0}".format(ee_wp_creds['wp_user'])) Log.info(self, Log.ENDC + "WordPress admin password : {0}" - .format(ee_wp_creds['wp_pass']) + "\n\n") + .format(ee_wp_creds['wp_pass']) + "\n\n") updateSiteInfo(self, ee_www_domain, stype=stype, cache=cache) Log.info(self, "Successfully updated site" " http://{0}".format(ee_domain)) @@ -1100,15 +1100,15 @@ class EESiteDeleteController(CementBaseController): 'DB_HOST').split(',')[1] .split(')')[0].strip().replace('\'', '')) try: - Log.debug(self, "dropping database {0}".format(ee_db_name)) + Log.debug(self, "dropping database `{0}`".format(ee_db_name)) EEMysql.execute(self, - "drop database {0}".format(ee_db_name), + "drop database `{0}``".format(ee_db_name), errormsg='Unable to drop database {0}' .format(ee_db_name)) if ee_db_user != 'root': - Log.debug(self, "dropping user {0}".format(ee_db_user)) + Log.debug(self, "dropping user `{0}`".format(ee_db_user)) EEMysql.execute(self, - "drop user {0}@{1}" + "drop user `{0}`@`{1}`" .format(ee_db_user, ee_db_host)) EEMysql.execute(self, "flush privileges")