call out ctl-c for quitting
authorEvan Martin <martine@danga.com>
Sun, 23 Jan 2011 00:39:54 +0000 (16:39 -0800)
committerEvan Martin <martine@danga.com>
Sun, 23 Jan 2011 00:39:54 +0000 (16:39 -0800)
src/browse.py

index 0d586bf..d326af3 100755 (executable)
@@ -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: