summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2010-05-06 00:59:04 +0000
committerR. David Murray <rdmurray@bitdance.com>2010-05-06 00:59:04 +0000
commit1f7de71090ab4e04413ab17dbe36ee2373c201c6 (patch)
tree5895ee7fc94387ca2a1f0b4f36791156df947683
parent862490a546f2ea92cf8780971a068a105a4c6384 (diff)
downloadcpython-git-1f7de71090ab4e04413ab17dbe36ee2373c201c6.tar.gz
Have the serve.py script announce the directory it is
serving and which port it is serving it on (I can never remember the default port number it uses...)
-rwxr-xr-xTools/scripts/serve.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tools/scripts/serve.py b/Tools/scripts/serve.py
index 61de63d195..b8d9cd7338 100755
--- a/Tools/scripts/serve.py
+++ b/Tools/scripts/serve.py
@@ -28,4 +28,5 @@ if __name__ == '__main__':
path = sys.argv[1]
port = int(sys.argv[2]) if len(sys.argv) > 2 else 8000
httpd = simple_server.make_server('', port, app)
+ print "Serving %s on port %s" % (path, port)
httpd.serve_forever()