community.general/lib/ansible
Esteban Echeverry b7662f7e5b Import from urllib and not url (#25102)
* Import from urllib and not url

In Python 3, the correct way to import
urlparse is through urllib.parse.

* Use six module to import urlparse

Import urlparse from ansible.module_utils.six.
This way, the import statement is compatible both
with Python 3 and Python 2.

* Fix urlparse import using six module

The correct import is:
from six.moves.urllib.parse import urlparse

* Import six from ansible.compat

* Import from six.moves. Don't make six global.

Prevent code smell by not making six available
in the global namespace and instead importing from
one of its subpackages.
2017-05-31 15:27:22 -04:00
..
cli path cli options now resolve relative paths to cli 2017-05-25 14:29:27 -04:00
compat ansible/compat/: PEP8 compliancy (#24689) 2017-05-18 08:36:11 +01:00
config Making the switch to v2 2015-05-03 21:47:26 -05:00
errors ansible/errors: PEP8 compliancy (#24693) 2017-05-18 08:34:57 +01:00
executor Ensure exit_json returns failed = False 2017-05-30 14:56:31 -07:00
galaxy Transition inventory into plugins (#23001) 2017-05-23 17:16:49 -04:00
inventory properlly report plugin name 2017-05-30 11:10:43 -04:00
module_utils Import from urllib and not url (#25102) 2017-05-31 15:27:22 -04:00
modules Update facts module to support the new OS10 10.3 release (#25090) 2017-05-31 17:09:10 +01:00
parsing removed unused import 2017-05-24 11:55:56 -04:00
playbook Ensure when warning is checked before expanding (#25092) 2017-05-30 15:48:45 -04:00
plugins reset_connection fixes: #23621 (#25211) 2017-05-31 13:40:57 -04:00
template fix from https://github.com/ansible/ansible/pull/23001 2017-05-19 09:41:09 -04:00
utils ansible/utils/: PEP8 compliancy (#24686) 2017-05-30 18:09:44 +01:00
vars Transition inventory into plugins (#23001) 2017-05-23 17:16:49 -04:00
__init__.py Fix ziploader for the cornercase of ansible invoking ansible. 2016-04-29 08:47:49 -07:00
constants.py MAX_FILE_SIZE_FOR_DIFF (#25170) 2017-05-30 16:18:13 +01:00
release.py Bumping devel version to 2.4.0 2017-03-15 09:42:01 -05:00