We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d484d11 commit a48c6b5Copy full SHA for a48c6b5
src/e3/net/http.py
@@ -11,8 +11,8 @@
11
import requests
12
import requests.adapters
13
import requests.exceptions
14
-import requests.packages.urllib3.exceptions
15
-from requests.packages.urllib3.util import Retry
+import urllib3.exceptions
+from urllib3.util import Retry
16
17
from typing import TYPE_CHECKING
18
@@ -221,7 +221,7 @@ def request(
221
except (
222
socket.timeout,
223
requests.exceptions.RequestException,
224
- requests.packages.urllib3.exceptions.HTTPError,
+ urllib3.exceptions.HTTPError,
225
) as e:
226
# got an error with that base url so put it last in our list
227
error_msgs.append(f"{message_prefix}{e}")
0 commit comments