[Reportbug-commits] [SCM] Reportbug - reports bugs in the Debian distribution branch, master, updated. 6.0-37-g3088578

Sandro Tosi morph at debian.org
Sat Aug 27 19:03:29 UTC 2011


The following commit has been merged in the master branch:
commit 52565925cb65d17aa6dca443b69e195b8d9ce06b
Author: Sandro Tosi <morph at debian.org>
Date:   Sat Aug 27 18:06:59 2011 +0200

    fix custom HTTPS handler to use the correct method name

diff --git a/reportbug/urlutils.py b/reportbug/urlutils.py
index c920fcc..434b165 100644
--- a/reportbug/urlutils.py
+++ b/reportbug/urlutils.py
@@ -77,8 +77,8 @@ class HttpWithGzipHandler (urllib2.HTTPHandler):
 if hasattr(httplib, 'HTTPS'):
     class HttpsWithGzipHandler (urllib2.HTTPSHandler):
         "support gzip encoding"
-        def http_open (self, req):
-            return decode(urllib2.HTTPSHandler.http_open(self, req))
+        def https_open (self, req):
+            return decode(urllib2.HTTPSHandler.https_open(self, req))
 
 class handlepasswd(urllib2.HTTPPasswordMgrWithDefaultRealm):
     def find_user_password(self, realm, authurl):

-- 
Reportbug - reports bugs in the Debian distribution



More information about the Reportbug-commits mailing list