From 69efd86064c1fe76b050e9a779d66c86fc90177f Mon Sep 17 00:00:00 2001 From: gau1991 Date: Fri, 10 Apr 2015 16:28:44 +0530 Subject: [PATCH] Fixed HHVM and Pagespeed default values in db --- ee/cli/plugins/sitedb.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ee/cli/plugins/sitedb.py b/ee/cli/plugins/sitedb.py index 13ebf067..4897b3bf 100644 --- a/ee/cli/plugins/sitedb.py +++ b/ee/cli/plugins/sitedb.py @@ -13,7 +13,7 @@ import glob def addNewSite(self, site, stype, cache, path, enabled=True, ssl=False, fs='ext4', db='mysql', db_name=None, db_user=None, db_password=None, - db_host='localhost', hhvm, pagespeed): + db_host='localhost', hhvm=0, pagespeed=0): """ Add New Site record information into ee database. """ @@ -42,8 +42,8 @@ def getSiteInfo(self, site): def updateSiteInfo(self, site, stype='', cache='', webroot='', enabled=True, ssl=False, fs='', db='', db_name=None, - db_user=None, db_password=None, db_host=None, hhvm, - pagespeed): + db_user=None, db_password=None, db_host=None, hhvm=None, + pagespeed=None): """updates site record in database""" try: q = SiteDB.query.filter(SiteDB.sitename == site).first()