summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/bb/fetch2/__init__.py5
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: