diff --git a/salt/modules/win_wua.py b/salt/modules/win_wua.py index 2126e60abe..3fac236737 100644 --- a/salt/modules/win_wua.py +++ b/salt/modules/win_wua.py @@ -17,10 +17,9 @@ import salt.utils import salt.utils.win_update from salt.exceptions import CommandExecutionError -# Import 3rd Party libs +# Import 3rd-party libs try: import pythoncom - import pywintypes import win32com.client HAS_PYWIN32 = True except ImportError: diff --git a/salt/states/win_wua.py b/salt/states/win_wua.py index e6c52ee6be..108b5b1dd5 100644 --- a/salt/states/win_wua.py +++ b/salt/states/win_wua.py @@ -47,11 +47,11 @@ For removal: - KB3194343 - bb1dbb26-3fb6-45fd-bb05-e3c8e379195c ''' -# Import python libs +# Import Python libs from __future__ import absolute_import import logging -# Import salt libs +# Import Salt libs from salt.ext import six import salt.utils import salt.utils.win_update diff --git a/salt/utils/win_update.py b/salt/utils/win_update.py index b849dbcdff..18e42eece3 100644 --- a/salt/utils/win_update.py +++ b/salt/utils/win_update.py @@ -10,10 +10,10 @@ import subprocess # Import Salt libs import salt.utils from salt.ext import six -from salt.ext.moves import range +from salt.ext.six.moves import range from salt.exceptions import CommandExecutionError -# Import 3rd Party libs +# Import 3rd-party libs try: import win32com.client import pythoncom