Fix a part of python 3 tests (make tests-py3, see https://github.com/ansible/ansible/issues/13553 for more details).
This commit is contained in:
parent
5d1a2eac3e
commit
be4d1f9ee3
1 changed files with 5 additions and 1 deletions
|
@ -28,7 +28,11 @@
|
|||
|
||||
import os
|
||||
import hmac
|
||||
import urlparse
|
||||
|
||||
try:
|
||||
import urlparse
|
||||
except ImportError:
|
||||
import urllib.parse as urlparse
|
||||
|
||||
try:
|
||||
from hashlib import sha1
|
||||
|
|
Loading…
Reference in a new issue