Skip to content

Commit dbbe9b8

Browse files
committed
More cleanup
1 parent 8757d2b commit dbbe9b8

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

sentry_sdk/integrations/wsgi.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ def __call__(self, environ, start_response):
145145
response=response,
146146
current_scope=current_scope,
147147
isolation_scope=scope,
148-
transaction=transaction,
149148
)
150149

151150

@@ -241,20 +240,18 @@ class _ScopedResponse:
241240
- WSGI servers streaming responses interleaved from the same thread
242241
"""
243242

244-
__slots__ = ("_response", "_current_scope", "_isolation_scope", "_transaction")
243+
__slots__ = ("_response", "_current_scope", "_isolation_scope")
245244

246245
def __init__(
247246
self,
248247
response, # type: Iterator[bytes]
249248
current_scope, # type: sentry_sdk.scope.Scope
250249
isolation_scope, # type: sentry_sdk.scope.Scope
251-
transaction, # type: Optional[sentry_sdk.tracing.Transaction]
252250
):
253251
# type: (...) -> None
254252
self._response = response
255253
self._current_scope = current_scope
256254
self._isolation_scope = isolation_scope
257-
self._transaction = transaction
258255

259256
def __iter__(self):
260257
# type: () -> Iterator[bytes]

0 commit comments

Comments
 (0)