updated to use key params for admin parts

This commit is contained in:
Joshua Harlow 2012-03-07 11:08:27 -08:00
parent 0417aba093
commit b0a8e6a751

View File

@ -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