remove repetitive words (#82799)

Signed-off-by: carrychair <linghuchong404@gmail.com>
pull/82761/head
carrychair 3 months ago committed by GitHub
parent f1ded0f417
commit 8b0f2ad9c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -149,7 +149,7 @@ def _walk_dirs(topdir, base_path=None, local_follow=False, trailing_slash_detect
new_parents.add((parent_stat.st_dev, parent_stat.st_ino)) new_parents.add((parent_stat.st_dev, parent_stat.st_ino))
if (dir_stats.st_dev, dir_stats.st_ino) in new_parents: if (dir_stats.st_dev, dir_stats.st_ino) in new_parents:
# This was a a circular symlink. So add it as # This was a circular symlink. So add it as
# a symlink # a symlink
r_files['symlinks'].append((os.readlink(dirpath), dest_dirpath)) r_files['symlinks'].append((os.readlink(dirpath), dest_dirpath))
else: else:

@ -514,7 +514,7 @@ class VariableManager:
return variables return variables
def get_delegated_vars_and_hostname(self, templar, task, variables): def get_delegated_vars_and_hostname(self, templar, task, variables):
"""Get the delegated_vars for an individual task invocation, which may be be in the context """Get the delegated_vars for an individual task invocation, which may be in the context
of an individual loop iteration. of an individual loop iteration.
Not used directly be VariableManager, but used primarily within TaskExecutor Not used directly be VariableManager, but used primarily within TaskExecutor

@ -603,6 +603,6 @@ ansible-vault encrypt salted_test3 --vault-password-file example1_password "$@"
out=$(diff salted_test1 salted_test2) out=$(diff salted_test1 salted_test2)
[ "${out}" == "" ] [ "${out}" == "" ]
# shoudl be diff # should be diff
out=$(diff salted_test1 salted_test3 || true) out=$(diff salted_test1 salted_test3 || true)
[ "${out}" != "" ] [ "${out}" != "" ]

@ -2,7 +2,7 @@ plugin_routing:
action: action:
# Backwards compat for modules-redirected-as-actions: # Backwards compat for modules-redirected-as-actions:
# By default, each module_defaults entry is resolved as an action plugin, # By default, each module_defaults entry is resolved as an action plugin,
# and if it does not exist, it is resolved a a module. # and if it does not exist, it is resolved a module.
# All modules that redirect to the same action will resolve to the same action. # All modules that redirect to the same action will resolve to the same action.
module_uses_action_defaults: module_uses_action_defaults:
redirect: testns.testcoll.eos redirect: testns.testcoll.eos

@ -153,7 +153,7 @@ def _walk_dirs(topdir, loader, decrypt=True, base_path=None, local_follow=False,
new_parents.add((parent_stat.st_dev, parent_stat.st_ino)) new_parents.add((parent_stat.st_dev, parent_stat.st_ino))
if (dir_stats.st_dev, dir_stats.st_ino) in new_parents: if (dir_stats.st_dev, dir_stats.st_ino) in new_parents:
# This was a a circular symlink. So add it as # This was a circular symlink. So add it as
# a symlink # a symlink
r_files['symlinks'].append({"src": os.readlink(dirpath), "dest": dest_dirpath}) r_files['symlinks'].append({"src": os.readlink(dirpath), "dest": dest_dirpath})
else: else:

@ -291,7 +291,7 @@ ADD_TESTS = [
), ),
( (
# Return values # Return values
True, # this value is is ignored True, # this value is ignored
True, True,
{ {
'rv1': { 'rv1': {

Loading…
Cancel
Save