Browse Source

Fix for travis build

master
Prabuddha Chakraborty 9 years ago
parent
commit
ceced1d37b
  1. 2
      ee/cli/plugins/sitedb.py
  2. 2
      ee/cli/plugins/stack.py

2
ee/cli/plugins/sitedb.py

@ -42,7 +42,7 @@ def getSiteInfo(self, site):
def updateSiteInfo(self, site, stype='', cache='', webroot='', def updateSiteInfo(self, site, stype='', cache='', webroot='',
enabled=True, ssl=False, fs='', db='', db_name=None, enabled=True, ssl=False, fs='', db='', db_name=None,
db_user=None, db_password=None, db_host=None, hhvm=None, db_user=None, db_password=None, db_host=None, hhvm=None,
pagespeed=None,php_version=''): pagespeed=None,php_version='5.5'):
"""updates site record in database""" """updates site record in database"""
try: try:
q = SiteDB.query.filter(SiteDB.sitename == site).first() q = SiteDB.query.filter(SiteDB.sitename == site).first()

2
ee/cli/plugins/stack.py

@ -382,7 +382,7 @@ class EEStackController(CementBaseController):
#php7 conf #php7 conf
if EEVariables.ee_platform_codename == 'trusty' and (not if EEVariables.ee_platform_codename == 'trusty' and (not
os.path.isfile("/etc/nginx/common/php7.conf")): os.path.isfile("/etc/nginx/common/php7.conf")):
data = dict() #data = dict()
Log.debug(self, 'Writting the nginx configuration to ' Log.debug(self, 'Writting the nginx configuration to '
'file /etc/nginx/common/php7.conf') 'file /etc/nginx/common/php7.conf')
ee_nginx = open('/etc/nginx/common/php7.conf', ee_nginx = open('/etc/nginx/common/php7.conf',

Loading…
Cancel
Save