Skip to content

Commit 12d7ff7

Browse files
committed
.
1 parent ed09e81 commit 12d7ff7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/traces.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ def remove_attribute(self, key: str) -> None:
518518
pass
519519

520520
def _is_segment(self) -> bool:
521-
return True if self._scope is not None else False
521+
return self._scope is not None
522522

523523
@property
524524
def status(self) -> "str":

0 commit comments

Comments
 (0)