From d3ab20227651984061cc7db2b1ebe0cf7cfea1be Mon Sep 17 00:00:00 2001 From: Steve Milner Date: Thu, 23 Feb 2017 14:14:00 -0500 Subject: Use 2 and 3 friendly urlparse in oo_filters --- filter_plugins/oo_filters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filter_plugins/oo_filters.py b/filter_plugins/oo_filters.py index a833a5d93..ed6923687 100644 --- a/filter_plugins/oo_filters.py +++ b/filter_plugins/oo_filters.py @@ -18,8 +18,8 @@ from collections import Mapping from distutils.util import strtobool from distutils.version import LooseVersion from operator import itemgetter +from ansible.module_utils.six.moves.urllib.parse import urlparse from ansible.parsing.yaml.dumper import AnsibleDumper -from urlparse import urlparse from six import string_types HAS_OPENSSL = False -- cgit v1.2.3