aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/tools/web_config/webconfig.py
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-03-25 22:41:22 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-03-25 22:41:22 -0700
commita11687fc5c984a18d1d2071c1f88d0a12c5b2f5d (patch)
tree0d5e348ee869f7030bae56a1d0af1e60b9ff49c3 /share/tools/web_config/webconfig.py
parentfa346cec3b307c6013a252475bac532ed0698dbb (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-xshare/tools/web_config/webconfig.py2
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()