From: Robert Yang Date: Mon, 4 Jan 2016 10:15:39 +0000 (-0800) Subject: fetch2/local.py: avoid using PREMIRROR X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e130dca85bac82bd4d88f94a6bf9fe36e8ad4d7c;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git fetch2/local.py: avoid using PREMIRROR The PREMIRROR isn't useful for "file://", so avoid using it, this is good for searching speed and can reduce useless lines in log.do_fetch. Signed-off-by: Robert Yang Signed-off-by: Richard Purdie --- diff --git a/lib/bb/fetch2/local.py b/lib/bb/fetch2/local.py index 2d921f7e55d..72456519714 100644 --- a/lib/bb/fetch2/local.py +++ b/lib/bb/fetch2/local.py @@ -126,3 +126,8 @@ class Local(FetchMethod): def clean(self, urldata, d): return + def try_premirror(self, urldata, d): + """ + Should premirrors be used? + """ + return False