mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Fix imports
This commit is contained in:
parent
54a9796f39
commit
f3b010ebe5
@ -74,7 +74,7 @@ HAS_WIN_DACL = False
|
||||
try:
|
||||
if salt.utils.is_windows():
|
||||
import salt.utils.win_dacl
|
||||
HAS_WIN_DACL = salt.utils.win_dacl.HAS_WIN32
|
||||
HAS_WIN_DACL = True
|
||||
except ImportError:
|
||||
HAS_WIN_DACL = False
|
||||
|
||||
|
@ -86,7 +86,7 @@ except ImportError:
|
||||
|
||||
try:
|
||||
import salt.utils.win_functions
|
||||
HAS_WIN32 = salt.utils.win_functions.HAS_WIN32
|
||||
HAS_WIN32 = True
|
||||
except ImportError:
|
||||
HAS_WIN32 = False
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user