Skip to content

Commit bd8e1c9

Browse files
committed
Merge branch 'ivana/span-first-9-start-end' into ivana/span-first-10-random-improvements
2 parents 9f59eb0 + d6fa965 commit bd8e1c9

5 files changed

Lines changed: 466 additions & 307 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
branches:
66
- master
77
- release/**
8-
- potel-base
98

109
pull_request:
1110

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ on:
1515
push:
1616
branches:
1717
- master
18-
- potel-base
1918
pull_request:
2019
schedule:
2120
- cron: '18 18 * * 3'

.github/workflows/enforce-license-compliance.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
- master
77
- main
88
- release/*
9-
- potel-base
109
pull_request:
1110

1211
# Cancel in progress workflows on pull_requests.

sentry_sdk/traces.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ def finish(self, end_timestamp: "Optional[Union[float, datetime]]" = None) -> No
303303
def _start(self) -> None:
304304
if self._active:
305305
old_span = self._scope.span
306-
self._scope.span = self
306+
self._scope.span = self # type: ignore
307307
self._previous_span_on_scope = old_span
308308

309309
def _end(self, end_timestamp: "Optional[Union[float, datetime]]" = None) -> None:
@@ -453,7 +453,7 @@ def _start(self) -> None:
453453
return
454454

455455
old_span = self._scope.span
456-
self._scope.span = self
456+
self._scope.span = self # type: ignore
457457
self._previous_span_on_scope = old_span
458458

459459
def _end(self, end_timestamp: "Optional[Union[float, datetime]]" = None) -> None:

0 commit comments

Comments
 (0)