Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
antares-sw committed Apr 29, 2024
1 parent e3fd8ed commit 2f3c014
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sw_utils/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ def default_log_before(retry_state: 'RetryCallState') -> None:


def default_after(future: Any) -> NoReturn:
"""Reraises the original exception from the Future, suppressing 'RetryError' messages.
"""
"""Reraises the original exception from the Future, suppressing 'RetryError' messages."""
raise future.outcome.exception()


Expand Down

0 comments on commit 2f3c014

Please sign in to comment.