summaryrefslogtreecommitdiffstats
path: root/src/browse.py
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2011-01-23 00:39:54 (GMT)
committerEvan Martin <martine@danga.com>2011-01-23 00:39:54 (GMT)
commit58cf4c96bfc0954698f1c62b51bc534390d62ce7 (patch)
treee4a53f6562432e60f947e81ecef1bcf2fb28e7bc /src/browse.py
parent0c9412113041f4f33cf907f6f97af057c904fb06 (diff)
downloadNinja-58cf4c96bfc0954698f1c62b51bc534390d62ce7.zip
Ninja-58cf4c96bfc0954698f1c62b51bc534390d62ce7.tar.gz
Ninja-58cf4c96bfc0954698f1c62b51bc534390d62ce7.tar.bz2
call out ctl-c for quitting
Diffstat (limited to 'src/browse.py')
-rwxr-xr-xsrc/browse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/browse.py b/src/browse.py
index 0d586bf..d326af3 100755
--- a/src/browse.py
+++ b/src/browse.py
@@ -120,7 +120,7 @@ class RequestHandler(BaseHTTPServer.BaseHTTPRequestHandler):
port = 8000
httpd = BaseHTTPServer.HTTPServer(('',port), RequestHandler)
try:
- print 'Web server running on port %d...' % port
+ print 'Web server running on port %d, ctl-C to abort...' % port
webbrowser.open_new('http://localhost:%s' % port)
httpd.serve_forever()
except KeyboardInterrupt: