]> granicus.if.org Git - python/commitdiff
'HTTPSHandler' and not the type.
authorSenthil Kumaran <senthil@uthcode.com>
Tue, 1 Nov 2011 15:57:57 +0000 (23:57 +0800)
committerSenthil Kumaran <senthil@uthcode.com>
Tue, 1 Nov 2011 15:57:57 +0000 (23:57 +0800)
Lib/urllib/request.py

index d360966fc4c61ed54ecaae1a248b5421ae08fb9a..3a472f235f63a1de93342e9563f7632f098ce1cc 100644 (file)
@@ -1200,7 +1200,7 @@ if hasattr(http.client, 'HTTPSConnection'):
 
         https_request = AbstractHTTPHandler.do_request_
 
-    __all__.append(HTTPSHandler)
+    __all__.append('HTTPSHandler')
 
 class HTTPCookieProcessor(BaseHandler):
     def __init__(self, cookiejar=None):