diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-03 22:02:09 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-10 23:36:59 +0000 |
commit | 61983b9a8b607283e8662b9330c12d6b13039a78 (patch) | |
tree | d2826f0ad1f5ced973afeda6af44a66d07ec84eb /lib/bb/fetch2/__init__.py | |
parent | 7b9d1c9479e931321d127c40118a28c6102789e6 (diff) | |
download | bitbake-61983b9a8b607283e8662b9330c12d6b13039a78.tar.gz |
bitbake/fetch2: Drop unused parameter for localpath() and update comments
(From Poky rev: 8daab5b95157dda6854fe6bf1929f911fe3cf25e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/fetch2/__init__.py')
-rw-r--r-- | lib/bb/fetch2/__init__.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py index af6ac734e..d9e4bc7ac 100644 --- a/lib/bb/fetch2/__init__.py +++ b/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: |