diff options
| -rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 5 |
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 | ||
| 425 | def localpath(url, d, cache = True): | 425 | def 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: |
