mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-21 21:41:44 -07:00
Use platform.system for Darwin comparisons (#945)
* Use platform.system for Darwin comparisons In Python3, `platform.platform()` returns `macOS-10.15.6-x86_64-i386-64bit` instead of `Darwin-10.15.6-x86_64-i386-64bit`. `platform.system()` returns `Darwin` On py2 and py3. * Add changlog fragment * Update changelogs/fragments/945-darwin-timezone-py3.yaml Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
2794dc7b02
commit
954fb0a311
2 changed files with 3 additions and 1 deletions
2
changelogs/fragments/945-darwin-timezone-py3.yaml
Normal file
2
changelogs/fragments/945-darwin-timezone-py3.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- timezone - support Python3 on macos/darwin (https://github.com/ansible-collections/community.general/pull/945).
|
Loading…
Add table
Add a link
Reference in a new issue