summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/fetch2/__init__.py')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index 6170e1c9bc..d8f8bbd792 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -809,7 +809,7 @@ def try_mirror_url(newuri, origud, ud, ld, check = False):
809 origud.method.download(origud.url, origud, ld) 809 origud.method.download(origud.url, origud, ld)
810 if hasattr(origud.method,"build_mirror_data"): 810 if hasattr(origud.method,"build_mirror_data"):
811 origud.method.build_mirror_data(origud.url, origud, ld) 811 origud.method.build_mirror_data(origud.url, origud, ld)
812 return None 812 return ud.localpath
813 # Otherwise the result is a local file:// and we symlink to it 813 # Otherwise the result is a local file:// and we symlink to it
814 if not os.path.exists(origud.localpath): 814 if not os.path.exists(origud.localpath):
815 if os.path.islink(origud.localpath): 815 if os.path.islink(origud.localpath):