summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb/fetch2
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-03 00:16:23 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-03 00:16:23 +0000
commita55d86b4051f6d063f9a67db026f7da6f9b50cc6 (patch)
treebc3b11894b6b7622af77afb450df070092ba1372 /bitbake/lib/bb/fetch2
parent08cd6c1cb9639e958e0c60a02e317a22cf43f880 (diff)
downloadopenembedded-core-a55d86b4051f6d063f9a67db026f7da6f9b50cc6.tar.gz
openembedded-core-a55d86b4051f6d063f9a67db026f7da6f9b50cc6.tar.bz2
openembedded-core-a55d86b4051f6d063f9a67db026f7da6f9b50cc6.tar.xz
openembedded-core-a55d86b4051f6d063f9a67db026f7da6f9b50cc6.zip
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>
Diffstat (limited to 'bitbake/lib/bb/fetch2')
-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 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