From: Richard Purdie Date: Thu, 3 Feb 2011 22:02:09 +0000 (+0000) Subject: bitbake/fetch2: Drop unused parameter for localpath() and update comments X-Git-Tag: 2011-1~2498 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=8daab5b95157dda6854fe6bf1929f911fe3cf25e;p=openembedded-core.git bitbake/fetch2: Drop unused parameter for localpath() and update comments Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index af6ac734ed..d9e4bc7ac6 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py @@ -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: