summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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):
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: