Fix typo in stack
This commit is contained in:
@@ -11,7 +11,6 @@ from wo.core.services import WOService
|
||||
from wo.core.shellexec import WOShellExec
|
||||
from wo.core.template import WOTemplate
|
||||
from wo.core.variables import WOVariables
|
||||
from wo.core.services import WOService
|
||||
|
||||
|
||||
def wo_secure_hook(app):
|
||||
|
||||
@@ -650,7 +650,7 @@ class WOStackController(CementBaseController):
|
||||
|
||||
# MySQLTuner
|
||||
if pargs.mysqltuner:
|
||||
if os.path.isfile(/usr/bin/mysqltuner):
|
||||
if os.path.isfile('/usr/bin/mysqltuner'):
|
||||
Log.debug(self, "Removing packages for MySQLTuner ")
|
||||
packages = packages + ['/usr/bin/mysqltuner']
|
||||
|
||||
@@ -900,7 +900,7 @@ class WOStackController(CementBaseController):
|
||||
|
||||
# MySQLTuner
|
||||
if pargs.mysqltuner:
|
||||
if os.path.isfile(/usr/bin/mysqltuner):
|
||||
if os.path.isfile('/usr/bin/mysqltuner'):
|
||||
Log.debug(self, "Removing packages for MySQLTuner ")
|
||||
packages = packages + ['/usr/bin/mysqltuner']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user