summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorAbhishek Lekshmanan <abhishek@suse.com>2017-04-10 19:16:56 +0200
committerAbhishek Lekshmanan <abhishek@suse.com>2017-04-10 19:16:56 +0200
commit10ff461fc0d37850d19393fe36c971a274b2d0ad (patch)
treea3cedc1377de3a884c57dd442f9ec39ffa8c1fd7 /admin
parenta69efc7760b80d8508b419deaab16242fcebf49d (diff)
downloadceph-10ff461fc0d37850d19393fe36c971a274b2d0ad.tar.gz
script: serve-doc print the port we're serving
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Diffstat (limited to 'admin')
-rwxr-xr-xadmin/serve-doc3
1 files changed, 3 insertions, 0 deletions
diff --git a/admin/serve-doc b/admin/serve-doc
index 9c1bfb44c79..96da048e587 100755
--- a/admin/serve-doc
+++ b/admin/serve-doc
@@ -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