From 8daab5b95157dda6854fe6bf1929f911fe3cf25e Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 3 Feb 2011 22:02:09 +0000 Subject: bitbake/fetch2: Drop unused parameter for localpath() and update comments Signed-off-by: Richard Purdie --- bitbake/lib/bb/fetch2/__init__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'bitbake/lib') diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index af6ac734e..d9e4bc7ac 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: -- cgit v1.2.3