Skip to content

Commit

Permalink
Misc typo fixes (ansible#71089)
Browse files Browse the repository at this point in the history
  • Loading branch information
Akasurde authored Aug 5, 2020
1 parent aab9bec commit 504ef60
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/ansible/executor/task_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ def _execute(self, variables=None):
try:
# TODO: remove play_context as this does not take delegation into account, task itself should hold values
# for connection/shell/become/terminal plugin options to finalize.
# Kept for now for backwards compatiblity and a few functions that are still exclusive to it.
# Kept for now for backwards compatibility and a few functions that are still exclusive to it.

# apply the given task's information to the connection info,
# which may override some fields already set by the play or
Expand Down
2 changes: 1 addition & 1 deletion lib/ansible/plugins/connection/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def reset(self):
# NOTE: these password functions are all become specific, the name is
# confusing as it does not handle 'protocol passwords'
# DEPRECATED:
# These are kept for backwards compatiblity
# These are kept for backwards compatibility
# Use the methods provided by the become plugins instead
def check_become_success(self, b_output):
display.deprecated(
Expand Down
2 changes: 1 addition & 1 deletion lib/ansible/template/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def is_template(data, jinja_env):
comment = False
d2 = jinja_env.preprocess(data)

# This wraps a lot of code, but this is due to lex returing a generator
# This wraps a lot of code, but this is due to lex returning a generator
# so we may get an exception at any part of the loop
try:
for token in jinja_env.lex(d2):
Expand Down
2 changes: 1 addition & 1 deletion lib/ansible/utils/vars.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def _isidentifier_PY2(ident):
* True, False and None are reserved keywords (these are reserved keywords
on Python 3 as opposed to Python 2)
:arg ident: A text string of indentifier to check. Note: It is callers
:arg ident: A text string of identifier to check. Note: It is callers
responsibility to convert ident to text if it is not already.
Originally posted at http://stackoverflow.com/a/29586366
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ $powershell = [PowerShell]::Create()
$powershell.Runspace.SessionStateProxy.SetVariable("ErrorActionPreference", "Stop")

# Load the PowerShell module utils as the module may be using them to refer to shared module options. Currently we
# can only load the PowerShell utils due to cross platform compatiblity issues.
# can only load the PowerShell utils due to cross platform compatibility issues.
if ($manifest.Contains('ps_utils')) {
foreach ($util_info in $manifest.ps_utils.GetEnumerator()) {
$util_name = $util_info.Key
Expand Down

0 comments on commit 504ef60

Please sign in to comment.