diff options
author | 2012-03-25 22:41:22 -0700 | |
---|---|---|
committer | 2012-03-25 22:41:22 -0700 | |
commit | a11687fc5c984a18d1d2071c1f88d0a12c5b2f5d (patch) | |
tree | 0d5e348ee869f7030bae56a1d0af1e60b9ff49c3 /share/tools/web_config/webconfig.py | |
parent | fa346cec3b307c6013a252475bac532ed0698dbb (diff) |
Make the functions builtin have a bit nicer output
Stop autosuggesting things with newlines
Make webconfig a little nicer
Diffstat (limited to 'share/tools/web_config/webconfig.py')
-rwxr-xr-x | share/tools/web_config/webconfig.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/share/tools/web_config/webconfig.py b/share/tools/web_config/webconfig.py index c0f1aaf7..c0faddb6 100755 --- a/share/tools/web_config/webconfig.py +++ b/share/tools/web_config/webconfig.py @@ -258,6 +258,8 @@ while True: ready_read, _, _ = select.select([sys.stdin.fileno(), httpd.fileno()], [], []) if stdin_no in ready_read: print "Shutting down." + # Consume the newline so it doesn't get printed by the caller + sys.stdin.readline() break else: httpd.handle_request() |