Browse Source

Keep py3.X compatibility for urllib

Use six.moves.urllib.parse instead of urllib

Change-Id: Ia728005ee0af307a7df042f23f0276f922926465
Closes-Bug: #1280105
tags/2.3.0
LiuNanke 4 years ago
parent
commit
8ed42da06b
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      troveclient/client.py

+ 1
- 4
troveclient/client.py View File

@@ -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

Loading…
Cancel
Save