From: Tony Mack Date: Mon, 16 Jul 2012 19:23:36 +0000 (-0400) Subject: only strip whitespace from input X-Git-Tag: sfa-2.1-14~110 X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=commitdiff_plain;h=2ea31cb6ba048383b09cab84a6f26c4a3e476a2d only strip whitespace from input --- diff --git a/config/sfa-config-tty b/config/sfa-config-tty index 0e97d460..5ec73d88 100755 --- a/config/sfa-config-tty +++ b/config/sfa-config-tty @@ -335,7 +335,7 @@ def mainloop (cdef, cread, cwrite, default_config, site_config, consolidated_con global service while True: try: - answer = raw_input("Enter command (u for usual changes, w to save, ? for help) ").strip() + answer = raw_input("Enter command (u for usual changes, w to save, ? for help) ").strip(" ") except EOFError: answer ="" except KeyboardInterrupt: