summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/__init__.py
diff options
context:
space:
mode:
authorRoss Burton <ross@burtonini.com>2021-10-14 17:33:06 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-14 21:31:09 +0100
commit4a791f342faee911a49918950ab5e467df8a592b (patch)
tree14d97614133213e7c0f21e77f5c5fa1d960a9c98 /bitbake/lib/bb/fetch2/__init__.py
parentfae4ba632bc739cdf7369659f9b3bea2dd1cde45 (diff)
downloadpoky-4a791f342faee911a49918950ab5e467df8a592b.tar.gz
bitbake: fetch2: document checkstatus API
The checkstatus semantics are unconventional, so document them. (Bitbake rev: efb949020215b580e7dc3694c377b18df2fd7e9c) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2/__init__.py')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index 259b2637a6..63e619ab98 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -1780,7 +1780,11 @@ class Fetch(object):
1780 1780
1781 def checkstatus(self, urls=None): 1781 def checkstatus(self, urls=None):
1782 """ 1782 """
1783 Check all urls exist upstream 1783 Check all URLs exist upstream.
1784
1785 Returns None if the URLs exist, raises FetchError if the check wasn't
1786 successful but there wasn't an error (such as file not found), and
1787 raises other exceptions in error cases.
1784 """ 1788 """
1785 1789
1786 if not urls: 1790 if not urls: