File set_httpmessage_in_verifiedhttpsconnection.patch of Package python-glanceclient.2398

--- glanceclient/common/https.py.ORIG	2016-02-26 11:56:16.719922845 +0100
+++ glanceclient/common/https.py	2016-02-26 11:58:28.172014303 +0100
@@ -141,6 +141,11 @@
     Note: Much of this functionality can eventually be replaced
           with native Python 3.3 code.
     """
+    # NOTE(aplanas) This fix the issue that makes patched
+    # httplib.HTTPMessage have different `id`s from the real class
+    # (bsc#965859)
+    response_class = six.moves.http_client.HTTPResponse
+
     def __init__(self, host, port=None, key_file=None, cert_file=None,
                  cacert=None, timeout=None, insecure=False,
                  ssl_compression=True):
openSUSE Build Service is sponsored by