mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
be explicit about urllib import and remove conditional urllib(2) import
urllib and urllib2 have been in the python stdlib since at least python-2.3. There's no reason to conditionalize it. Fixes https://github.com/ansible/ansible/issues/11322
This commit is contained in:
parent
655fa27dc7
commit
16bd2c7357
11 changed files with 23 additions and 20 deletions
|
@ -71,6 +71,7 @@ EXAMPLES = """
|
|||
msg: "{{ inventory_hostname }} completed"
|
||||
"""
|
||||
|
||||
import urllib
|
||||
|
||||
NEXMO_API = 'https://rest.nexmo.com/sms/json'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue