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:
parent
8d17055831
commit
d67cbaa274
2 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue