[Python-checkins] cpython: 'HTTPSHandler' and not the type.

senthil.kumaran python-checkins at python.org
Tue Nov 1 16:58:08 CET 2011


http://hg.python.org/cpython/rev/b388bee313a8
changeset:   73286:b388bee313a8
user:        Senthil Kumaran <senthil at uthcode.com>
date:        Tue Nov 01 23:57:57 2011 +0800
summary:
  'HTTPSHandler' and not the type.

files:
  Lib/urllib/request.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py
--- a/Lib/urllib/request.py
+++ b/Lib/urllib/request.py
@@ -1200,7 +1200,7 @@
 
         https_request = AbstractHTTPHandler.do_request_
 
-    __all__.append(HTTPSHandler)
+    __all__.append('HTTPSHandler')
 
 class HTTPCookieProcessor(BaseHandler):
     def __init__(self, cookiejar=None):

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list