diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-11-05 20:26:59 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-11-05 20:26:59 (GMT) |
commit | 4a5f9677f31d75454ec10a0baefef37b63568a31 (patch) | |
tree | 7251f1750ba52e9c5950cfd0828a0ed643bfbd7f /Lib/test | |
parent | 66c95c745b723badac4513d2ac4492eb08ef1b66 (diff) | |
download | cpython-4a5f9677f31d75454ec10a0baefef37b63568a31.zip cpython-4a5f9677f31d75454ec10a0baefef37b63568a31.tar.gz cpython-4a5f9677f31d75454ec10a0baefef37b63568a31.tar.bz2 |
Output served URL when running ssl_servers
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/ssl_servers.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/ssl_servers.py b/Lib/test/ssl_servers.py index da27c3a..77c0542 100644 --- a/Lib/test/ssl_servers.py +++ b/Lib/test/ssl_servers.py @@ -184,4 +184,6 @@ if __name__ == "__main__": context.load_cert_chain(CERTFILE) server = HTTPSServer(("", args.port), handler_class, context) + if args.verbose: + print("Listening on https://localhost:{0.port}".format(args)) server.serve_forever(0.1) |