fix urlparse usage in cloud.amazon module to be compatible with python3 (#20917)

* fix urlparse usage in cloud.amazon module to be compatible with python3

* make imports style compatible with six documentation
pull/21080/head
Eugene Krokhalev 8 years ago committed by Toshio Kuratomi
parent 8d17055831
commit d67cbaa274

@ -95,7 +95,7 @@ EXAMPLES = '''
import csv
import json
import urlparse
import ansible.module_utils.six.moves.urllib.parse as urlparse
SUPPORTED_DISTROS = ['ubuntu']

@ -112,7 +112,7 @@ EXAMPLES = '''
import os
import xml.etree.ElementTree as ET
import urlparse
import ansible.module_utils.six.moves.urllib.parse as urlparse
from ansible.module_utils.basic import *
from ansible.module_utils.ec2 import *

Loading…
Cancel
Save