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:
@@ -13,10 +13,10 @@
|
|||||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
from urlparse import urlparse
|
|
||||||
|
|
||||||
from keystoneclient.v2_0.client import Client
|
from keystoneclient.v2_0.client import Client
|
||||||
from requests.auth import AuthBase
|
from requests.auth import AuthBase
|
||||||
|
from six.moves.urllib.parse import urlparse
|
||||||
|
|
||||||
|
|
||||||
class KeystoneAuth(AuthBase):
|
class KeystoneAuth(AuthBase):
|
||||||
|
Reference in New Issue
Block a user