[Python-checkins] r86219 - python/branches/py3k/Lib/test/ssl_servers.py

antoine.pitrou python-checkins at python.org
Fri Nov 5 21:26:59 CET 2010


Author: antoine.pitrou
Date: Fri Nov  5 21:26:59 2010
New Revision: 86219

Log:
Output served URL when running ssl_servers



Modified:
   python/branches/py3k/Lib/test/ssl_servers.py

Modified: python/branches/py3k/Lib/test/ssl_servers.py
==============================================================================
--- python/branches/py3k/Lib/test/ssl_servers.py	(original)
+++ python/branches/py3k/Lib/test/ssl_servers.py	Fri Nov  5 21:26:59 2010
@@ -184,4 +184,6 @@
     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)


More information about the Python-checkins mailing list