Python3: Add support for urlparse

Replaced urlparse to use from six.moves.urllib2.urlparse.urlparse

Change-Id: Ie1e0bd408333d613c057d8ecd92100b7cddb6340
Partially-Implements: blueprint designate-py3
This commit is contained in:
abhishekkekane 2016-01-30 01:09:00 -08:00
parent 8f3e935f77
commit b54b359a2e

View File

@ -13,10 +13,10 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
from urlparse import urlparse
from keystoneclient.v2_0.client import Client
from requests.auth import AuthBase
from six.moves.urllib.parse import urlparse
class KeystoneAuth(AuthBase):