Skip to content

Commit a9c0059

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent c36424b commit a9c0059

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

jenkinsapi/utils/retry.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ def begin(self) -> None:
4343
def check(self) -> None:
4444
start_time = self.start_time
4545
if start_time is None:
46-
raise RuntimeError("Retry has not been started. Call begin() first.")
46+
raise RuntimeError(
47+
"Retry has not been started. Call begin() first."
48+
)
4749
curr_time = self.get_current_time()
4850
if curr_time - start_time > self.timeout:
4951
raise TimeoutError("Retry timed out")

0 commit comments

Comments
 (0)