From a55d86b4051f6d063f9a67db026f7da6f9b50cc6 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 3 Feb 2011 00:16:23 +0000 Subject: 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 --- bitbake/lib/bb/fetch2/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/bb/fetch2') diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index a39d4374d..11a813e02 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py @@ -550,7 +550,7 @@ class FetchData(object): 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.names = self.parm.get("name",'').split(',') + self.names = self.parm.get("name",'default').split(',') for m in methods: if m.supports(url, self, d): self.method = m -- cgit v1.2.3