Browse Source

Quit when press n for redis

release/v3.3.0
gau1991 10 years ago
parent
commit
d0ba82bd79
  1. 4
      ee/cli/plugins/site.py

4
ee/cli/plugins/site.py

@ -524,7 +524,7 @@ class EESiteCreateController(CementBaseController):
# Check prompt
check_prompt = input("Type \"y\" to continue [n]:")
if check_prompt != "Y" and check_prompt != "y":
Log.info(self, "Not using Redis for site.")
Log.error(self, "Not using Redis for site")
cache = 'basic'
data['wpredis'] = False
data['basic'] = True
@ -1095,7 +1095,7 @@ class EESiteUpdateController(CementBaseController):
# Check prompt
check_prompt = input("Type \"y\" to continue [n]:")
if check_prompt != "Y" and check_prompt != "y":
Log.info(self, "Not using Redis for site")
Log.error(self, "Not using Redis for site")
data['wpredis'] = False
data['basic'] = True
cache = 'basic'

Loading…
Cancel
Save