diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-05-11 12:10:32 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-05-25 10:33:15 +0100 |
commit | 71eef845bd6ee8e8f488dca32896b0cc87cf4032 (patch) | |
tree | 01767622ea0d151e6a2739d50e44bae40cd95a63 /bitbake/lib/bb/fetch2/__init__.py | |
parent | 8f728e33837842d32f6f00a32a8ff651eec9eb83 (diff) | |
download | poky-71eef845bd6ee8e8f488dca32896b0cc87cf4032.tar.gz |
bitbake: fetch2: Clarify different localpaths functions
To avoid confusion, rename the local fetcher localpaths function to
something more specific so it doesn't appear similar to the localpaths
top level function.
(Bitbake rev: ada5ea712cc42fff8c55bd261ee6d7579efd4a68)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.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__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index 1a86d8fd81..770021de16 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
@@ -1234,7 +1234,7 @@ def get_checksum_file_list(d): | |||
1234 | ud = fetch.ud[u] | 1234 | ud = fetch.ud[u] |
1235 | if ud and isinstance(ud.method, local.Local): | 1235 | if ud and isinstance(ud.method, local.Local): |
1236 | found = False | 1236 | found = False |
1237 | paths = ud.method.localpaths(ud, d) | 1237 | paths = ud.method.localfile_searchpaths(ud, d) |
1238 | for f in paths: | 1238 | for f in paths: |
1239 | pth = ud.decodedurl | 1239 | pth = ud.decodedurl |
1240 | if os.path.exists(f): | 1240 | if os.path.exists(f): |