diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-02-09 05:38:46 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-02-09 05:38:46 +0000 |
commit | 5ff63d67803471f9089885501fab6710ee00a38d (patch) | |
tree | aa9e0e78679331d3cf2c580b3ed565b52d52466a /Lib/BaseHTTPServer.py | |
parent | f296019cc52477ad7c8f9f0f4b23b873f19cba7e (diff) | |
download | cpython-git-5ff63d67803471f9089885501fab6710ee00a38d.tar.gz |
Correction to test main.
Diffstat (limited to 'Lib/BaseHTTPServer.py')
-rw-r--r-- | Lib/BaseHTTPServer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/BaseHTTPServer.py b/Lib/BaseHTTPServer.py index 8d9034530c..3e78d8b929 100644 --- a/Lib/BaseHTTPServer.py +++ b/Lib/BaseHTTPServer.py @@ -467,7 +467,7 @@ def test(HandlerClass = BaseHTTPRequestHandler, """ if sys.argv[1:]: - port = sys.argv[1].atoi() + port = int(sys.argv[1]) else: port = 8000 server_address = ('', port) |