mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
parent
07cac0b434
commit
1e75665a9a
@ -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…
Reference in New Issue
Block a user