community.general/lib/ansible/module_utils
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
..
six module_utils/six: PEP8 compliancy 2017-05-23 15:43:52 -07:00
__init__.py
_text.py
a10.py
ansible_tower.py
aos.py Fix errors reported by pylint. (#23282) 2017-04-06 16:58:16 -07:00
api.py
asa.py module_utils/asa: PEP8 compliancy (#24655) 2017-05-16 12:16:05 +01:00
avi.py Avi 17 1 (#24047) 2017-05-03 16:51:28 +01:00
azure_rm_common.py
basic.py fix to alwasy use param in case subpec is used 2017-05-31 12:39:47 -04:00
bigswitch_utils.py
ce.py Contributing new lib/ansible/module_utils/ce.py module to manage HUAWEI data center CloudEngine switch (#21666) 2017-05-17 18:36:34 +01:00
cloud.py
cloudengine.py mod_utils/cloudengine: PEP8 compliancy (#24659) 2017-05-30 18:28:02 +01:00
cloudstack.py cloudstack: add check mode tests (#24908) 2017-05-26 12:19:47 +02:00
cnos.py
cnos_devicerules.py
cnos_errorcodes.py
connection.py
database.py
dellos6.py Add dellos6 changes for Python3 (#24606) 2017-05-17 00:36:32 +05:30
dellos9.py Add dellos9 changes for Python3 (#24607) 2017-05-17 00:36:52 +05:30
dellos10.py Add dellos10 changes for python3 (#24608) 2017-05-17 00:36:15 +05:30
dimensiondata.py
docker_common.py Docker does not output Status after pull anymore. 2017-05-24 16:07:17 -07:00
ec2.py Feature/aws helper function for tags (#23387) 2017-05-11 07:39:51 +01:00
eos.py Add eos changes for Python3 (#24600) 2017-05-24 19:40:38 +05:30
exoscale.py
f5_cli.py
f5_utils.py
facts.py added new selinux fact to clarify python lib 2017-05-25 10:37:52 -04:00
fortios.py Fortios file only mode + integration tests (#23275) 2017-05-09 13:51:19 +01:00
gcdns.py
gce.py
gcp.py [GCP] remove ansible.utils.display for deprecations (#24738) 2017-05-18 12:07:16 -04:00
infinibox.py
ios.py Add ios changes for Python3 (#24601) 2017-05-17 20:00:52 +05:30
iosxr.py Add iosxr changes for Python3 (#24605) 2017-05-17 00:32:41 +05:30
ipa.py
ismount.py
json_utils.py
junos.py Fix IndexError when junos_config contains multiple delete lines (#25139) 2017-05-30 11:55:25 +05:30
k8s_common.py k8s/openshift module_utils split (#23115) 2017-03-30 19:02:17 +02:00
known_hosts.py Give user whatever information we have from ssh-keyscan 2017-05-05 08:35:04 -07:00
lxd.py Import from urllib and not url (#25102) 2017-05-31 15:27:22 -04:00
mysql.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
netapp.py
netcfg.py nxos_bgp updates (#24270) 2017-05-08 11:38:50 -04:00
netcli.py
netconf.py junos_config: Remove reliance on ability to output configuration in `set` format (#23225) 2017-04-04 15:00:00 -04:00
network.py
network_common.py
nxos.py Remove deprecation for username/password eos_user, nxos_user and Doc update (#24880) 2017-05-22 20:02:36 +05:30
openshift_common.py k8s/openshift module_utils split (#23115) 2017-03-30 19:02:17 +02:00
openstack.py
openswitch.py
ordnance.py
ovirt.py cloud: ovirt: fix update_params for ovirt module_utils (#22637) 2017-03-15 08:04:06 -04:00
postgres.py
powershell.ps1 Ensure exit_json returns failed = False 2017-05-30 14:56:31 -07:00
pycompat24.py
rax.py module_utils/rax: Small parameter cleanup (#24664) 2017-05-16 10:02:04 -04:00
redhat.py
service.py Be explicit about pickle protocol and encoding (#24454) 2017-05-12 18:04:48 -07:00
shell.py
splitter.py
sros.py Add sros changes for Python3 (#24604) 2017-05-17 00:33:36 +05:30
univention_umc.py
urls.py Update documentation of fetch_url in urls.py (#23892) 2017-05-01 09:57:37 -05:00
vca.py Misc Typo correction (#25025) 2017-05-25 16:14:39 +02:00
vmware.py vmware_guest: Fix VM creation when adding a network device without a MAC address (#24138) 2017-05-16 08:47:49 -07:00
vyos.py Add vyos changes for Python3 (#24603) 2017-05-17 00:32:59 +05:30