Misc typo fixes (#71089)

This commit is contained in:
Abhijeet Kasurde 2020-08-05 10:16:44 +05:30 committed by GitHub
parent aab9beccf7
commit 504ef607f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View file

@ -423,7 +423,7 @@ class TaskExecutor:
try: try:
# TODO: remove play_context as this does not take delegation into account, task itself should hold values # 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. # 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, # apply the given task's information to the connection info,
# which may override some fields already set by the play or # which may override some fields already set by the play or

View file

@ -232,7 +232,7 @@ class ConnectionBase(AnsiblePlugin):
# NOTE: these password functions are all become specific, the name is # NOTE: these password functions are all become specific, the name is
# confusing as it does not handle 'protocol passwords' # confusing as it does not handle 'protocol passwords'
# DEPRECATED: # DEPRECATED:
# These are kept for backwards compatiblity # These are kept for backwards compatibility
# Use the methods provided by the become plugins instead # Use the methods provided by the become plugins instead
def check_become_success(self, b_output): def check_become_success(self, b_output):
display.deprecated( display.deprecated(

View file

@ -179,7 +179,7 @@ def is_template(data, jinja_env):
comment = False comment = False
d2 = jinja_env.preprocess(data) 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 # so we may get an exception at any part of the loop
try: try:
for token in jinja_env.lex(d2): for token in jinja_env.lex(d2):

View file

@ -288,7 +288,7 @@ portable between the two. The following changes were made:
* True, False and None are reserved keywords (these are reserved keywords * True, False and None are reserved keywords (these are reserved keywords
on Python 3 as opposed to Python 2) 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. responsibility to convert ident to text if it is not already.
Originally posted at http://stackoverflow.com/a/29586366 Originally posted at http://stackoverflow.com/a/29586366

View file

@ -69,7 +69,7 @@ $powershell = [PowerShell]::Create()
$powershell.Runspace.SessionStateProxy.SetVariable("ErrorActionPreference", "Stop") $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 # 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')) { if ($manifest.Contains('ps_utils')) {
foreach ($util_info in $manifest.ps_utils.GetEnumerator()) { foreach ($util_info in $manifest.ps_utils.GetEnumerator()) {
$util_name = $util_info.Key $util_name = $util_info.Key