fetch2: document checkstatus API
PATCH 1/1 fetch2: document checkstatus API
The checkstatus semantics are unconventional, so document them.
Signed-off-by Ross Burton <[email protected]>
--- bitbake/lib/bb/fetch2/__init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
bitbake/lib/bb/fetch2/__init__.py +5 -1
@@ -1780,7 +1780,11 @@ class Fetch(object): def checkstatus(self, urls=None): """ - Check all urls exist upstream + Check all URLs exist upstream. + + Returns None if the URLs exist, raises FetchError if the check wasn't + successful but there wasn't an error (such as file not found), and + raises other exceptions in error cases. """ if not urls:
Signature · 1 line
2.25.1