From f1ac644013954d3aa417528d69f5a458e321add6 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Thu, 22 Jan 2004 19:53:04 +0000 Subject: [PATCH] Small update to normalize whitespace of prompts. --- src/questions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/questions.py b/src/questions.py index 5831d6dcd..72de7ac44 100644 --- a/src/questions.py +++ b/src/questions.py @@ -54,6 +54,7 @@ def expect(prompt, possibilities, recursed=False, doindent=True, default=None): If possibilities is empty, allow anything. """ + prompt = utils.normalizeWhitespace(prompt) originalPrompt = prompt if doindent: indent = ' ' * ((len(originalPrompt)%68) + 2)