summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index 893ec6f6bd..b1cd6b25c2 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -469,6 +469,7 @@ def uri_replace(ud, uri_find, uri_replace, replacements, d, mirrortarball=None):
469 basename = os.path.basename(mirrortarball) 469 basename = os.path.basename(mirrortarball)
470 # Kill parameters, they make no sense for mirror tarballs 470 # Kill parameters, they make no sense for mirror tarballs
471 uri_decoded[5] = {} 471 uri_decoded[5] = {}
472 uri_find_decoded[5] = {}
472 elif ud.localpath and ud.method.supports_checksum(ud): 473 elif ud.localpath and ud.method.supports_checksum(ud):
473 basename = os.path.basename(ud.localpath) 474 basename = os.path.basename(ud.localpath)
474 if basename: 475 if basename: