git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8c92edf
)
only strip whitespace from input
author
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Mon, 16 Jul 2012 19:23:36 +0000
(15:23 -0400)
committer
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Mon, 16 Jul 2012 19:23:36 +0000
(15:23 -0400)
config/sfa-config-tty
patch
|
blob
|
history
diff --git
a/config/sfa-config-tty
b/config/sfa-config-tty
index
0e97d46
..
5ec73d8
100755
(executable)
--- 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:
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:
except EOFError:
answer =""
except KeyboardInterrupt: