summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToshio Kuratomi <a.badger@gmail.com>2017-02-06 13:01:47 -0800
committerToshio Kuratomi <a.badger@gmail.com>2017-02-06 13:01:47 -0800
commitfbf0346597f6c7505befd1875cec40c978f8ffc1 (patch)
tree0536046e4b389a61ddf0a9fdcb7e1c45509d3df0
parent59c9a6d3c20e73641c430fdaa3f250c1ff431dcc (diff)
downloadansible-modules-core-fbf0346597f6c7505befd1875cec40c978f8ffc1.tar.gz
fix urlparse usage in cloud.amazon module to be compatible with python3
(cherry picked from d67cbaa274a06c8eb4214d9e8aa1a5749d79a515)
-rw-r--r--cloud/amazon/_ec2_ami_search.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloud/amazon/_ec2_ami_search.py b/cloud/amazon/_ec2_ami_search.py
index 4e3189f5..0a9bed14 100644
--- a/cloud/amazon/_ec2_ami_search.py
+++ b/cloud/amazon/_ec2_ami_search.py
@@ -82,7 +82,7 @@ EXAMPLES = '''
import csv
import json
-import urlparse
+import ansible.module_utils.six.moves.urllib.parse as urlparse
SUPPORTED_DISTROS = ['ubuntu']