summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-05-24 16:47:55 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-25 11:15:12 +0100
commitb52dfa23e11ebc0f57afb4c460050fca2ca848f6 (patch)
treef2b48e4ba9e75567a16ff5e228b82172ea8a600d /bitbake
parente6d9af19d6ef94522e5c53eb84c490e7b5473c69 (diff)
downloadpoky-b52dfa23e11ebc0f57afb4c460050fca2ca848f6.tar.gz
lib/bb/fetch2: fix comments for verify_checksum
This function no longer returns a value, it raises errors instead, so update the comments to reflect this. (Bitbake rev: 8b61b9584a8b00378f9fd8f165dbd65dcfd3c14e) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index d4b6c3ec39..6ae69cd4ab 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -274,13 +274,10 @@ def verify_checksum(u, ud, d):
274 """ 274 """
275 verify the MD5 and SHA256 checksum for downloaded src 275 verify the MD5 and SHA256 checksum for downloaded src
276 276
277 return value: 277 Raises a FetchError if one or both of the SRC_URI checksums do not match
278 - True: a checksum matched 278 the downloaded file, or if BB_STRICT_CHECKSUM is set and there are no
279 - False: neither checksum matched 279 checksums specified.
280 280
281 if checksum is missing in recipes file, "BB_STRICT_CHECKSUM" decide the return value.
282 if BB_STRICT_CHECKSUM = "1" then return false as unmatched, otherwise return true as
283 matched
284 """ 281 """
285 282
286 if not ud.method.supports_checksum(ud): 283 if not ud.method.supports_checksum(ud):