Remove super call in overloaded close()
Change Ia30058bc4752489107b998bd44d38c27901cfe63 introduced a super()
call after overloading the close() method in VerifiedHTTPSConnection.
However, the parent class httplib.HTTPConnection was definied using
the old-style class contructor so the super() call won't work. This
commit fixes that by removing the super() call and explicitly calling
the parent class's close() method.
Closes-Bug: #1273737
Change-Id: I17b86e67716b427866bc33ca3c15cb4e32ba6587
diff --git a/tempest/common/glance_http.py b/tempest/common/glance_http.py
index 2ce05ee..d8afab3 100644
--- a/tempest/common/glance_http.py
+++ b/tempest/common/glance_http.py
@@ -354,7 +354,7 @@
# file. Closing socket too soon will cause response
# reads to fail with socket IO error 'Bad file descriptor'.
self.sock = None
- super(VerifiedHTTPSConnection, self).close()
+ httplib.HTTPSConnection.close(self)
class ResponseBodyIterator(object):