summaryrefslogtreecommitdiff
path: root/Tools
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
commitd2dc01fc6794e8a970f09cdc3e56f9dc17011529 (patch)
tree5f917616f93fb4fe246fef4639be04bd9ad98aae /Tools
parent7cd4b26ebfbcf2600bdc4027d98b81d99433e4e9 (diff)
downloadcpython-d2dc01fc6794e8a970f09cdc3e56f9dc17011529.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...)
Diffstat (limited to 'Tools')
-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()