mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 03:11:24 -07:00
[PR #7429/e556abb5 backport][stable-7] Many typo fixes (#7430)
Many typo fixes (#7429)
(cherry picked from commit e556abb56b
)
Co-authored-by: Alex <alex@alxg.de>
This commit is contained in:
parent
4175c4c8fe
commit
e19fda6cb0
46 changed files with 66 additions and 66 deletions
|
@ -447,7 +447,7 @@ class NosystemdTimezone(Timezone):
|
|||
filename: The name of the file to edit.
|
||||
regexp: The regular expression to search with.
|
||||
value: The line which will be inserted.
|
||||
key: For what key the file is being editted.
|
||||
key: For what key the file is being edited.
|
||||
"""
|
||||
# Read the file
|
||||
try:
|
||||
|
@ -725,7 +725,7 @@ class BSDTimezone(Timezone):
|
|||
localtime_file = '/etc/localtime'
|
||||
|
||||
# Strategy 1:
|
||||
# If /etc/localtime does not exist, assum the timezone is UTC.
|
||||
# If /etc/localtime does not exist, assume the timezone is UTC.
|
||||
if not os.path.exists(localtime_file):
|
||||
self.module.warn('Could not read /etc/localtime. Assuming UTC.')
|
||||
return 'UTC'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue