1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix import of urlparse on python3

Should fix the error reported here:
https://github.com/ansible/ansible/issues/17495#issuecomment-267921719
This commit is contained in:
Toshio Kuratomi 2017-01-30 09:03:04 -08:00
parent e70bc06ea1
commit 4f960a4f42

View file

@ -21,10 +21,10 @@ import re
import json
import sys
import copy
from distutils.version import LooseVersion
from urlparse import urlparse
from ansible.module_utils.basic import *
from ansible.module_utils.basic import AnsibleModule, BOOLEANS_TRUE, BOOLEANS_FALSE
from ansible.module_utils.six.moves.urllib.parse import urlparse
HAS_DOCKER_PY = True
HAS_DOCKER_PY_2 = False