Skip to content

Commit fb31faf

Browse files
revert nullcontext import changes
1 parent ec21faa commit fb31faf

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

sentry_sdk/integrations/wsgi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
from sentry_sdk.integrations._wsgi_common import (
1010
DEFAULT_HTTP_METHODS_TO_CAPTURE,
1111
_filter_headers,
12+
nullcontext,
1213
)
1314
from sentry_sdk.scope import should_send_default_pii, use_isolation_scope
1415
from sentry_sdk.sessions import track_session
@@ -18,7 +19,6 @@
1819
capture_internal_exceptions,
1920
event_from_exception,
2021
reraise,
21-
nullcontext,
2222
)
2323

2424
if TYPE_CHECKING:

sentry_sdk/utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
from functools import partial, partialmethod, wraps
1818
from numbers import Real
1919
from urllib.parse import parse_qs, unquote, urlencode, urlsplit, urlunsplit
20-
from contextlib import contextmanager
2120

2221
try:
2322
# Python 3.11

0 commit comments

Comments
 (0)