summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-03 22:02:09 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-07 09:06:35 +0000
commit8daab5b95157dda6854fe6bf1929f911fe3cf25e (patch)
tree933d4cc2c387da3676ccf1e80e97c0a9054d05f7 /bitbake
parent7e4fbfc1c1887a1a0507b60244aa53b8b1994edd (diff)
downloadpoky-8daab5b95157dda6854fe6bf1929f911fe3cf25e.tar.gz
bitbake/fetch2: Drop unused parameter for localpath() and update comments
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py5
1 files changed, 2 insertions, 3 deletions
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):
422 422
423 return format 423 return format
424 424
425def localpath(url, d, cache = True): 425def localpath(url, d):
426 """ 426 """
427 Called from the parser with cache=False since the cache isn't ready 427 Called from public code, e.g. classes in OE e.g. patch.bbclass
428 at this point. Also called from classed in OE e.g. patch.bbclass
429 """ 428 """
430 ud = init([url], d) 429 ud = init([url], d)
431 if ud[url].method: 430 if ud[url].method: