You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/files
Dag Wieers 7cd47eb73a 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.
9 years ago
..
__init__.py package files 10 years ago
acl.py Remove duplicate documentation fields 9 years ago
assemble.py minor doc fixes 9 years ago
copy.py added follow to specific modules that support it 9 years ago
fetch.py Add note about precautions of using become with fetch. Addresses https://github.com/ansible/ansible/issues/14064 9 years ago
file.py fixed typo, now correctly check isdir 9 years ago
find.py removed 'overquoting' of example 9 years ago
ini_file.py Fix #2475 ini_file module: bracklets in key break idempotence 9 years ago
lineinfile.py Merge pull request #2896 from towolf/add_diff_to_lineinfile 9 years ago
replace.py added follow to specific modules that support it 9 years ago
stat.py Change one param to be of type path 9 years ago
synchronize.py Correct dest_port to be of type int 9 years ago
template.py Merge pull request #1670 from mikeputnam/issue-1643-gpl-header 9 years ago
unarchive.py Ensure that a download failure is properly raised before the read fails 9 years ago
xattr.py Set name to type path so that tilde and env vars are expanded 9 years ago