diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-03 00:16:23 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-03 00:16:23 +0000 |
commit | a55d86b4051f6d063f9a67db026f7da6f9b50cc6 (patch) | |
tree | bc3b11894b6b7622af77afb450df070092ba1372 /bitbake/lib/bb/fetch2 | |
parent | 08cd6c1cb9639e958e0c60a02e317a22cf43f880 (diff) | |
download | openembedded-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__.py | 2 |
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 |