mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-03 07:41:30 -07:00
[PR #9442/ec585392 backport][stable-10] Docs: fix its vs. it's (#9458)
Docs: fix its vs. it's (#9442)
* Fix its vs. it's.
* Improvements from review.
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
* Improve formulations.
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
---------
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
(cherry picked from commit ec585392e5
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
60d51f7b49
commit
98a956a9d6
60 changed files with 88 additions and 88 deletions
|
@ -333,7 +333,7 @@ class NosystemdTimezone(Timezone):
|
|||
adjtime='/etc/adjtime'
|
||||
)
|
||||
|
||||
# It's fine if all tree config files don't exist
|
||||
# It is fine if all tree config files don't exist
|
||||
allow_no_file = dict(
|
||||
name=True,
|
||||
hwclock=True,
|
||||
|
@ -545,7 +545,7 @@ class NosystemdTimezone(Timezone):
|
|||
# to set, we need to return the TZ which the symlink points to.
|
||||
if os.path.exists('/etc/localtime'):
|
||||
# We use readlink() because on some distros zone files are symlinks
|
||||
# to other zone files, so it's hard to get which TZ is actually set
|
||||
# to other zone files, so it is hard to get which TZ is actually set
|
||||
# if we follow the symlink.
|
||||
path = os.readlink('/etc/localtime')
|
||||
# most linuxes has it in /usr/share/zoneinfo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue