community.general/lib/ansible
Dag Wieers 20b7757032 Ensure that a download failure is properly raised before the read fails
Without this change, a download failure may bail out with the message:

    "Failure downloading http://foo/bar, 'NoneType' object has no attribute 'read'"

whereas with this fix, you'd get a proper error like:

    "Failure downloading http://foo/bar, Request failed: <urlopen error [Errno 113] No route to host>"

or one of the many other possible download errors that can occur.
2016-12-08 11:24:10 -05:00
..
cli
compat
config
errors
executor
galaxy
inventory
module_utils
modules Ensure that a download failure is properly raised before the read fails 2016-12-08 11:24:10 -05:00
parsing
playbook
plugins
template
utils
vars
__init__.py
constants.py
release.py
test-requirements.txt