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
This commit is contained in:
Eugene Krokhalev 2017-02-07 00:55:11 +04:00 committed by Toshio Kuratomi
parent 8d17055831
commit d67cbaa274
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -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 *