Bulk spelling improvement to modules-core (#5225)

* Correct spelling mistakes

* Correct more spelling issues

* merge conflict

* Revert typo in parms
This commit is contained in:
John R Barker 2016-10-13 15:47:50 +01:00 committed by Matt Clay
commit 25b6492d37
91 changed files with 908 additions and 148 deletions

View file

@ -100,7 +100,7 @@ options:
If you worry about portability, only the sha1 algorithm is available
on all platforms and python versions. The third party hashlib
library can be installed for access to additional algorithms.
Additionaly, if a checksum is passed to this parameter, and the file exist under
Additionally, if a checksum is passed to this parameter, and the file exist under
the C(dest) location, the destination_checksum would be calculated, and if
checksum equals destination_checksum, the file download would be skipped
(unless C(force) is true). '
@ -237,7 +237,7 @@ def url_get(module, url, dest, use_proxy, last_mod_time, force, timeout=10, head
if os.path.exists(tmp_dest):
module.fail_json(msg="%s is a file but should be a directory." % tmp_dest)
else:
module.fail_json(msg="%s directoy does not exist." % tmp_dest)
module.fail_json(msg="%s directory does not exist." % tmp_dest)
fd, tempname = tempfile.mkstemp(dir=tmp_dest)
else: