]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
script: serve-doc print the port we're serving 14438/head
authorAbhishek Lekshmanan <abhishek@suse.com>
Mon, 10 Apr 2017 17:16:56 +0000 (19:16 +0200)
committerAbhishek Lekshmanan <abhishek@suse.com>
Mon, 10 Apr 2017 17:16:56 +0000 (19:16 +0200)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
admin/serve-doc

index 9c1bfb44c799f40c72037f234ae3825a13537cc1..96da048e58713224357d6d5cdae5c0ada51a3ce6 100755 (executable)
@@ -1,4 +1,6 @@
 #!/usr/bin/python
+from __future__ import print_function
+
 import SimpleHTTPServer
 import SocketServer
 import os
@@ -24,6 +26,7 @@ httpd = SocketServer.TCPServer(
     ReusingTCPServer,
     )
 try:
+    print("Serving doc at port: http://localhost:8080")
     httpd.serve_forever()
 except KeyboardInterrupt:
     pass