mirror of
https://git.yoctoproject.org/poky
synced 2026-06-03 01:40:07 +00:00
bitbake/fetch2: Drop unused parameter for localpath() and update comments
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -422,10 +422,9 @@ def get_srcrev(d):
|
|||||||
|
|
||||||
return format
|
return format
|
||||||
|
|
||||||
def localpath(url, d, cache = True):
|
def localpath(url, d):
|
||||||
"""
|
"""
|
||||||
Called from the parser with cache=False since the cache isn't ready
|
Called from public code, e.g. classes in OE e.g. patch.bbclass
|
||||||
at this point. Also called from classed in OE e.g. patch.bbclass
|
|
||||||
"""
|
"""
|
||||||
ud = init([url], d)
|
ud = init([url], d)
|
||||||
if ud[url].method:
|
if ud[url].method:
|
||||||
|
|||||||
Reference in New Issue
Block a user