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 committed 2011-02-07 09:06:35 +00:00
1 parent 7e4fbfc1c1
commit 8daab5b951
1 file changed
+2 -3
+2 -3
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: