bitbake: fetch2: Handle errors orruring when building mirror urls
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 Jun 2012 11:54:42 +0000 (12:54 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Jun 2012 13:57:16 +0000 (14:57 +0100)
commit52fa71d883be164c74275645d1f4b790ee28c9a6
tree1d828a34e47e2611127595243b23d2c1a74fc431
parent45f75ff1b79cae4f48a3f54a015ed47d8e3e97be
bitbake: fetch2: Handle errors orruring when building mirror urls

When we build the mirror urls, its possible an error will occur. If it
does, it should just mean we don't attempt this mirror url. The current
code actually aborts *all* the mirrors, not just the failed url.

This patch catches and logs the exception allowing things to continue.

(Bitbake rev: c35cbd1a1403865cf4f59ec88e1881669868103c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/fetch2/__init__.py