]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake/fetch2: Drop unused parameter for localpath() and update comments
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 3 Feb 2011 22:02:09 +0000 (22:02 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 7 Feb 2011 09:06:35 +0000 (09:06 +0000)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/fetch2/__init__.py

index af6ac734ed7a1e78d9960e0db7c59c726aef9fe4..d9e4bc7ac65225ba690d5648ee6be459fb0ba24a 100644 (file)
@@ -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: