correctly qualify DeadlineExceededException namespace

This commit is contained in:
jesopo 2019-09-03 14:54:59 +01:00
parent 50742d336c
commit 397cfa8e7e

View file

@ -86,7 +86,7 @@ def request(url: str, method: str="GET", get_params: dict={},
stream=True stream=True
) )
response_content = response.raw.read(RESPONSE_MAX, decode_content=True) response_content = response.raw.read(RESPONSE_MAX, decode_content=True)
except DeadlineExceededException: except utils.DeadlineExceededException:
raise HTTPTimeoutException() raise HTTPTimeoutException()
response_headers = utils.CaseInsensitiveDict(dict(response.headers)) response_headers = utils.CaseInsensitiveDict(dict(response.headers))