From b0a8e6a75164219cdafa9fb8c6b36ff9cb406ee6 Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Wed, 7 Mar 2012 11:08:27 -0800 Subject: [PATCH] updated to use key params for admin parts --- devstack/shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack/shell.py b/devstack/shell.py index 545b53c1..c64a452e 100644 --- a/devstack/shell.py +++ b/devstack/shell.py @@ -240,7 +240,7 @@ def prompt_password(pw_prompt): break if re.match(r"^(\s+)$", rc): LOG.warning("Whitespace not allowed as a password!") - elif re.match(r"^(\s+)(\S+)(\s+)$"): + elif re.match(r"^(\s+)(\S+)(\s+)$", rc): LOG.warning("Whitespace can not start or end a password!") else: break