Fix imports

This commit is contained in:
twangboy 2017-03-22 15:37:38 -06:00
parent 54a9796f39
commit f3b010ebe5
2 changed files with 2 additions and 2 deletions

View File

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

View File

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