Skip to content

Commit b91349f

Browse files
committed
feat: remove-redundant-has-attr-check-in-del
1 parent aacf9f0 commit b91349f

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

flagsmith/flagsmith.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -498,8 +498,5 @@ def __del__(self) -> None:
498498
if hasattr(self, "event_stream_thread"):
499499
self.event_stream_thread.stop()
500500

501-
if (
502-
hasattr(self, "_pipeline_analytics_processor")
503-
and self._pipeline_analytics_processor
504-
):
501+
if self._pipeline_analytics_processor:
505502
self._pipeline_analytics_processor.stop()

0 commit comments

Comments
 (0)