2
0
mirror of https://opendev.org/x/pyghmi synced 2025-01-27 19:37:44 +00:00

Merge "Fix webclient viability after error"

This commit is contained in:
Jenkins 2016-10-12 15:26:04 +00:00 committed by Gerrit Code Review
commit f354a3cc2c

View File

@ -63,6 +63,8 @@ class SecureHTTPConnection(httplib.HTTPConnection, object):
rsp = self.getresponse()
if rsp.status == 200:
return json.loads(rsp.read())
rsp.read()
return {}
def request(self, method, url, body=None, headers=None):
if headers is None: