We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6cd6e77 commit 04bcf91Copy full SHA for 04bcf91
1 file changed
sentry_sdk/transport.py
@@ -6,6 +6,7 @@
6
import time
7
from datetime import datetime, timedelta, timezone
8
from collections import defaultdict
9
+from urllib.request import getproxies
10
11
from sentry_sdk.consts import EndpointType
12
from sentry_sdk.utils import Dsn, logger, capture_internal_exceptions
@@ -31,11 +32,6 @@
31
32
33
DataCategory = Optional[str]
34
-try:
35
- from urllib.request import getproxies
36
-except ImportError:
37
- from urllib import getproxies # type: ignore
38
-
39
40
class Transport:
41
"""Baseclass for all transports.
0 commit comments