mirror of
https://git.yoctoproject.org/poky
synced 2026-09-15 06:49:33 +02:00
bitbake/lib/bb/fetch2: Assign a default name in the names array as empty strings as names cause problems for python
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -550,7 +550,7 @@ class FetchData(object):
|
|||||||
self.md5_expected = bb.data.getVarFlag("SRC_URI", self.md5_name, d)
|
self.md5_expected = bb.data.getVarFlag("SRC_URI", self.md5_name, d)
|
||||||
self.sha256_expected = bb.data.getVarFlag("SRC_URI", self.sha256_name, d)
|
self.sha256_expected = bb.data.getVarFlag("SRC_URI", self.sha256_name, d)
|
||||||
|
|
||||||
self.names = self.parm.get("name",'').split(',')
|
self.names = self.parm.get("name",'default').split(',')
|
||||||
for m in methods:
|
for m in methods:
|
||||||
if m.supports(url, self, d):
|
if m.supports(url, self, d):
|
||||||
self.method = m
|
self.method = m
|
||||||
|
|||||||
Reference in New Issue
Block a user