fix indentation
This commit is contained in:
@@ -132,7 +132,6 @@ class WOSiteController(CementBaseController):
|
|||||||
wo_db_user = ''
|
wo_db_user = ''
|
||||||
wo_db_pass = ''
|
wo_db_pass = ''
|
||||||
|
|
||||||
|
|
||||||
if not check_domain_exists(self, wo_domain):
|
if not check_domain_exists(self, wo_domain):
|
||||||
Log.error(self, "site {0} does not exist".format(wo_domain))
|
Log.error(self, "site {0} does not exist".format(wo_domain))
|
||||||
if os.path.isfile('/etc/nginx/sites-available/{0}'
|
if os.path.isfile('/etc/nginx/sites-available/{0}'
|
||||||
@@ -446,7 +445,6 @@ class WOSiteCreateController(CementBaseController):
|
|||||||
else:
|
else:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
if data and self.app.pargs.php73:
|
if data and self.app.pargs.php73:
|
||||||
if (self.app.pargs.experimental):
|
if (self.app.pargs.experimental):
|
||||||
Log.info(
|
Log.info(
|
||||||
@@ -1159,8 +1157,7 @@ class WOSiteUpdateController(CementBaseController):
|
|||||||
data['basic'] = True
|
data['basic'] = True
|
||||||
cache = 'basic'
|
cache = 'basic'
|
||||||
|
|
||||||
if (php73 is old_php73) and
|
if (php73 is old_php73) and (stype == oldsitetype and cache == oldcachetype):
|
||||||
(stype == oldsitetype and cache == oldcachetype)):
|
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
if not data:
|
if not data:
|
||||||
|
|||||||
@@ -153,7 +153,6 @@ def setupdatabase(self, data):
|
|||||||
wo_db_username = ''
|
wo_db_username = ''
|
||||||
wo_db_password = ''
|
wo_db_password = ''
|
||||||
|
|
||||||
|
|
||||||
if prompt_dbname == 'True' or prompt_dbname == 'true':
|
if prompt_dbname == 'True' or prompt_dbname == 'true':
|
||||||
try:
|
try:
|
||||||
wo_db_name = input('Enter the MySQL database name [{0}]: '
|
wo_db_name = input('Enter the MySQL database name [{0}]: '
|
||||||
|
|||||||
Reference in New Issue
Block a user