From dee268edb8b2c50b0ab4ebb62df09cebe3343a4c Mon Sep 17 00:00:00 2001 From: gau1991 Date: Fri, 10 Apr 2015 18:03:16 +0530 Subject: [PATCH] Fixed logic for HHVM and Pagespeed update checks --- ee/cli/plugins/site.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ee/cli/plugins/site.py b/ee/cli/plugins/site.py index 39dcc463..af5f5916 100644 --- a/ee/cli/plugins/site.py +++ b/ee/cli/plugins/site.py @@ -680,6 +680,7 @@ class EESiteUpdateController(CementBaseController): data['pagespeed'] = False pagespeed = 0 + if self.app.pargs.pagespeed: if pagespeed == old_pagespeed: if pagespeed == 0: Log.error(self, "Pagespeed is allready disabled for given " @@ -688,6 +689,7 @@ class EESiteUpdateController(CementBaseController): Log.error(self, "Pagespeed is allready enabled for given " "site") + if self.app.pargs.hhvm: if hhvm == old_hhvm: if hhvm == 0: Log.error(self, "HHVM is allready disabled for given "