We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c36424b commit a9c0059Copy full SHA for a9c0059
jenkinsapi/utils/retry.py
@@ -43,7 +43,9 @@ def begin(self) -> None:
43
def check(self) -> None:
44
start_time = self.start_time
45
if start_time is None:
46
- raise RuntimeError("Retry has not been started. Call begin() first.")
+ raise RuntimeError(
47
+ "Retry has not been started. Call begin() first."
48
+ )
49
curr_time = self.get_current_time()
50
if curr_time - start_time > self.timeout:
51
raise TimeoutError("Retry timed out")
0 commit comments