diff --git a/v2/ansible/plugins/connections/winrm.py b/v2/ansible/plugins/connections/winrm.py index f94141b81b6..f3d6a03ba07 100644 --- a/v2/ansible/plugins/connections/winrm.py +++ b/v2/ansible/plugins/connections/winrm.py @@ -24,7 +24,8 @@ import os import re import shlex import traceback -import urlparse + +from six.moves.urllib import parse as urlparse from ansible import errors from ansible import utils from ansible.callbacks import vvv, vvvv, verbose diff --git a/v2/ansible/plugins/strategies/__init__.py b/v2/ansible/plugins/strategies/__init__.py index c5b3dd0f066..3f160d84dbc 100644 --- a/v2/ansible/plugins/strategies/__init__.py +++ b/v2/ansible/plugins/strategies/__init__.py @@ -19,7 +19,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type -import Queue +import six.moves import queue as Queue import time from ansible.errors import *