Skip to content

Commit 3a9057c

Browse files
authored
Merge pull request #394 from slaftos/rtd-results-exception
RTD results can cause exception
2 parents d4b5090 + 1abc105 commit 3a9057c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

adabot/lib/circuitpython_library_validators.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -975,9 +975,10 @@ def validate_readthedocs(self, repo):
975975

976976
# Return the results of the latest run
977977
doc_build_results = json_response.get("results")
978-
if doc_build_results is None:
978+
if doc_build_results is None or not doc_build_results:
979979
errors.append(ERROR_RTD_FAILED_TO_LOAD_BUILD_STATUS_RTD_UNEXPECTED_RETURN)
980980
return errors
981+
981982
result = doc_build_results[0].get("success")
982983
time.sleep(3)
983984
if not result:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy