Merge pull request #41855 from cachedout/version_locale

List locale in versions_report
This commit is contained in:
Mike Place 2017-06-20 10:44:52 -05:00 committed by GitHub
commit c702bf6cb2

View File

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