瀏覽代碼

Use 2 and 3 friendly urlparse in oo_filters

Steve Milner 8 年之前
父節點
當前提交
d3ab202276
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      filter_plugins/oo_filters.py

+ 1 - 1
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