From 6e514026a7d918db9479556d5af289ae329ee00e Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Mon, 18 Nov 2024 13:55:49 -0500 Subject: [PATCH] fix: delete space --- src/rocm_docs/theme.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rocm_docs/theme.py b/src/rocm_docs/theme.py index c58c4241..21572f4b 100644 --- a/src/rocm_docs/theme.py +++ b/src/rocm_docs/theme.py @@ -29,7 +29,7 @@ def _get_version_from_url(url: str) -> str: while (response.status_code != 200) and (retry_counter <= MAX_RETRY): time.sleep(5) response = requests.get(url) - + if retry_counter > MAX_RETRY: raise requests.RequestException("Unable to acquire version within MAX_RETRY!")