(func, exc)
| 28 | raise last_exc |
| 29 | |
| 30 | def _wrap_with_retry_thrice(func, exc): |
| 31 | def wrapped(*args, **kwargs): |
| 32 | return _retry_thrice(func, exc, *args, **kwargs) |
| 33 | return wrapped |
| 34 | |
| 35 | # Connecting to remote hosts is flaky. Make it more robust by retrying |
| 36 | # the connection several times. |
no outgoing calls
no test coverage detected