From cadca38e524046086b8bc41d84be0253275776f4 Mon Sep 17 00:00:00 2001 From: gau1991 Date: Mon, 15 Dec 2014 17:41:14 +0530 Subject: [PATCH] Fixed various typos --- ee/cli/plugins/stack.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ee/cli/plugins/stack.py b/ee/cli/plugins/stack.py index 104fe1a3..817c1542 100644 --- a/ee/cli/plugins/stack.py +++ b/ee/cli/plugins/stack.py @@ -4,7 +4,7 @@ from cement.core.controller import CementBaseController, expose from cement.core import handler, hook from ee.core.variables import EEVariables from ee.core.aptget import EEAptGet -from ee.core.donwload import EEDownload +from ee.core.download import EEDownload import random import string @@ -54,12 +54,12 @@ class EEStackController(CementBaseController): chars = ''.join(random.sample(string.letters, 8)) EEShellExec.cmd_exec("echo \"percona-server-server-5.6" "percona-server-server/root_password" - "password {pass}\"" - "| debconf-set-selections".format(pass=chars)) + "password {chars}\" |" + "debconf-set-selections".format(chars=chars)) EEShellExec.cmd_exec("echo \"percona-server-server-5.6" "percona-server-server/root_password_again" - "password {pass}\"" - "| debconf-set-selections".format(pass=chars)) + "password {chars}\" |" + "debconf-set-selections".format(chars=chars)) @expose() def install(self):