Commit 68f4c30a authored by Lucas Carvalho's avatar Lucas Carvalho

Call the method directly instead of using super.

In this case, super does not beahvior as expected, so it is better to
call the init method directly.
parent 432c47b4
......@@ -54,7 +54,7 @@ class HTTPSConnectionCertificateVerification(httplib.HTTPSConnection):
raise IOError("CA file not found. "\
"Download it from here: http://curl.haxx.se/ca/cacert.pem")
super(HTTPSConnectionCertificateVerification, self).__init__(*args, **kwargs)
httplib.HTTPSConnection.__init__(self, *args, **kwargs)
def connect(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment