bitbake/fetch2: Drop unused parameter for localpath() and update comments

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2011-02-03 22:02:09 +00:00
parent 7e4fbfc1c1
commit 8daab5b951
1 changed files with 2 additions and 3 deletions

View File

@ -422,10 +422,9 @@ def get_srcrev(d):
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
at this point. Also called from classed in OE e.g. patch.bbclass
Called from public code, e.g. classes in OE e.g. patch.bbclass
"""
ud = init([url], d)
if ud[url].method: