Keep py3.X compatibility for urllib
Use six.moves.urllib.parse instead of urllib Change-Id: Ia728005ee0af307a7df042f23f0276f922926465 Closes-Bug: #1280105
This commit is contained in:
@@ -30,10 +30,7 @@ from troveclient import exceptions
|
||||
from troveclient.openstack.common.apiclient import client
|
||||
from troveclient import service_catalog
|
||||
|
||||
try:
|
||||
import urlparse
|
||||
except ImportError:
|
||||
import urllib.parse as urlparse
|
||||
import six.moves.urllib.parse as urlparse
|
||||
|
||||
try:
|
||||
import eventlet as sleep_lib
|
||||
|
Reference in New Issue
Block a user