From 41c40974a318169ca4a22455bcf702cbec1dc8b3 Mon Sep 17 00:00:00 2001 From: Massimo Date: Tue, 16 Oct 2012 10:34:36 -0500 Subject: [PATCH] fixed issue 1092, thanks nicozanf --- VERSION | 2 +- gluon/shell.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index 8ffb2002..5ee5440e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.1.1 (2012-10-16 10:25:18) dev +Version 2.1.1 (2012-10-16 10:34:32) dev diff --git a/gluon/shell.py b/gluon/shell.py index 4a336ba4..2ad019fa 100644 --- a/gluon/shell.py +++ b/gluon/shell.py @@ -172,11 +172,11 @@ def run( adir = os.path.join('applications', a) if not os.path.exists(adir): if sys.stdin and not sys.stdin.name == '/dev/null': - c = raw_input('application %s does not exist, create (y/n)?' % a) + confirm = raw_input('application %s does not exist, create (y/n)?' % a) else: logging.warn('application does not exist and will not be created') return - if c.lower() in ['y', 'yes']: + if confirm.lower() in ['y', 'yes']: os.mkdir(adir) w2p_unpack('welcome.w2p', adir)