Skip to content

Commit 4b14e8d

Browse files
committed
Remove redundant code
1 parent cdd8bd6 commit 4b14e8d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sentry_sdk/scope.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1190,7 +1190,7 @@ def start_streamed_span(
11901190
)
11911191

11921192
if parent_span is None or isinstance(parent_span, NoOpStreamedSpan):
1193-
parent_span = self.span or self.get_current_scope().span # type: ignore
1193+
parent_span = self.span # type: ignore
11941194

11951195
# If no eligible parent_span was provided and there is no currently
11961196
# active span, this is a segment

0 commit comments

Comments
 (0)