mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #28105 from jfindlay/locale_msg
add reason for not loading localemod
This commit is contained in:
commit
69ab1d30e2
1 changed files with 2 additions and 2 deletions
|
@ -32,9 +32,9 @@ def __virtual__():
|
|||
Only work on POSIX-like systems
|
||||
'''
|
||||
if HAS_DBUS is False and _uses_dbus():
|
||||
return False
|
||||
return (False, 'Cannot load locale module: dbus python module unavailable')
|
||||
if salt.utils.is_windows():
|
||||
return False
|
||||
return (False, 'Cannot load locale module: windows platforms are unsupported')
|
||||
|
||||
return __virtualname__
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue