diff options
author | Joshua Lock <josh@linux.intel.com> | 2010-10-05 12:44:08 +0100 |
---|---|---|
committer | Joshua Lock <josh@linux.intel.com> | 2010-10-05 16:54:10 +0100 |
commit | 0ee7a9e6bdce1f3094e831b9db83087fff1dad17 (patch) | |
tree | 24a40bee95129e3edfa42095812a35d927aec1e2 /bitbake/lib/bb/taskdata.py | |
parent | 8e5c0841ea4e8ffa95c55f3094d78918e1f98d52 (diff) | |
download | openembedded-core-0ee7a9e6bdce1f3094e831b9db83087fff1dad17.tar.gz openembedded-core-0ee7a9e6bdce1f3094e831b9db83087fff1dad17.tar.bz2 openembedded-core-0ee7a9e6bdce1f3094e831b9db83087fff1dad17.tar.xz openembedded-core-0ee7a9e6bdce1f3094e831b9db83087fff1dad17.zip |
bitbake/fetch: if mirror fetching fails, ensure exception is raised
We catch any exception raised by the fetchers go() method and attempt to work
around it by trying any (post) mirrors which are configured. However, should
the mirrors fail the exception is lost and the fetch is assumed to have
completed successfully.
Instead, save the exception and if the local file does not exist after trying
the mirrors re-raise the exception.
Fixes [BUGID #362]
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/taskdata.py')
0 files changed, 0 insertions, 0 deletions