From 1dd0a76bb49a89c88ccb3ab0b89285a5aed9cda4 Mon Sep 17 00:00:00 2001 From: gau1991 Date: Mon, 27 Apr 2015 15:26:51 +0530 Subject: [PATCH] Fixed missing self --- ee/cli/plugins/stack.py | 2 +- ee/cli/plugins/stack_upgrade.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ee/cli/plugins/stack.py b/ee/cli/plugins/stack.py index 6e71ad68..6a8355a6 100644 --- a/ee/cli/plugins/stack.py +++ b/ee/cli/plugins/stack.py @@ -473,7 +473,7 @@ class EEStackController(CementBaseController): # For debian install xdebug if EEVariables.ee_platform_distro == "debian": - EEShellExec.cmd_exec("pear install xdebug") + EEShellExec.cmd_exec(self, "pear install xdebug") with open("/etc/php5/mods-available/xdebug.ini", encoding='utf-8', mode='a') as myfile: diff --git a/ee/cli/plugins/stack_upgrade.py b/ee/cli/plugins/stack_upgrade.py index 2216a2c9..6034dd36 100644 --- a/ee/cli/plugins/stack_upgrade.py +++ b/ee/cli/plugins/stack_upgrade.py @@ -85,7 +85,7 @@ class EEStackUpgradeController(CementBaseController): EEAptGet.install(self, EEVariables.ee_php) if EEVariables.ee_platform_distro == "debian": - EEShellExec.cmd_exec("pear install xdebug") + EEShellExec.cmd_exec(self, "pear install xdebug") with open("/etc/php5/mods-available/xdebug.ini", encoding='utf-8', mode='a') as myfile: