mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Handle python3 sourcing of urlparse
This commit is contained in:
@@ -9,7 +9,10 @@ import json
|
||||
import re
|
||||
from six import text_type
|
||||
from unittest import TestCase
|
||||
from urlparse import urlparse
|
||||
try:
|
||||
from urlparse import urlparse
|
||||
except ImportError:
|
||||
from urllib.parse import urlparse
|
||||
|
||||
from requests import HTTPError
|
||||
from requests_mock import ANY, mock as requests_mock
|
||||
|
||||
Reference in New Issue
Block a user