mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Merge pull request #41855 from cachedout/version_locale
List locale in versions_report
This commit is contained in:
commit
c702bf6cb2
@ -7,6 +7,7 @@ Set up the version of Salt
|
||||
from __future__ import absolute_import, print_function
|
||||
import re
|
||||
import sys
|
||||
import locale
|
||||
import platform
|
||||
|
||||
# linux_distribution depreacted in py3.7
|
||||
@ -672,6 +673,7 @@ def system_information():
|
||||
('release', release),
|
||||
('machine', platform.machine()),
|
||||
('version', version),
|
||||
('locale', locale.getpreferredencoding()),
|
||||
]
|
||||
|
||||
for name, attr in system:
|
||||
|
Loading…
Reference in New Issue
Block a user