summaryrefslogtreecommitdiff
path: root/bitbake/lib
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/lib
parent7e4fbfc1c1887a1a0507b60244aa53b8b1994edd (diff)
downloadopenembedded-core-8daab5b95157dda6854fe6bf1929f911fe3cf25e.tar.gz
openembedded-core-8daab5b95157dda6854fe6bf1929f911fe3cf25e.tar.bz2
openembedded-core-8daab5b95157dda6854fe6bf1929f911fe3cf25e.tar.xz
openembedded-core-8daab5b95157dda6854fe6bf1929f911fe3cf25e.zip
bitbake/fetch2: Drop unused parameter for localpath() and update comments
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-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 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: