[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:
patchback[bot] 2023-10-26 06:20:21 +02:00 committed by GitHub
parent 4175c4c8fe
commit e19fda6cb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
46 changed files with 66 additions and 66 deletions

View file

@ -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'