Fix spelling mistakes (comments only) (#25564)

Original Author : klemens <ka7@github.com>

Taking over previous PR as per
https://github.com/ansible/ansible/pull/23644#issuecomment-307334525

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2017-06-12 12:25:19 +05:30 committed by John R Barker
commit b89cb95609
158 changed files with 202 additions and 201 deletions

View file

@ -550,7 +550,7 @@ class BaseModule(object):
)
self.post_update(entity)
# Update diffs only if user specified --diff paramter,
# Update diffs only if user specified --diff parameter,
# so we don't useless overload API:
if self._module._diff:
before = get_dict_of_struct(

View file

@ -67,7 +67,7 @@ def get_sysv_script(name):
def sysv_exists(name):
'''
This function will return True or False depending on
the existance of an init script corresponding to the service name supplied.
the existence of an init script corresponding to the service name supplied.
:arg name: name of the service to test for
'''
@ -93,7 +93,7 @@ def fail_if_missing(module, found, service, msg=''):
def daemonize(module, cmd):
'''
Execute a command while detaching as a deamon, returns rc, stdout, and stderr.
Execute a command while detaching as a daemon, returns rc, stdout, and stderr.
:arg module: is an AnsbileModule object, used for it's utility methods
:arg cmd: is a list or string representing the command and options to run

View file

@ -468,7 +468,7 @@ def generic_urlparse(parts):
# so remove it and convert the port to an integer
port = int(port[1:])
if auth:
# the capture group above inclues the @, so remove it
# the capture group above includes the @, so remove it
# and then split it up based on the first ':' found
auth = auth[:-1]
username, password = auth.split(':', 1)