2 parents 594d984 + 059f54e commit 77f2e98Copy full SHA for 77f2e98
1 file changed
openstackclient/api/object_store_v1.py
@@ -20,11 +20,6 @@
20
import six
21
from six.moves import urllib
22
23
-try:
24
- from urllib.parse import urlparse # noqa
25
-except ImportError:
26
- from urlparse import urlparse # noqa
27
-
28
from openstackclient.api import api
29
from openstackclient.common import utils
30
@@ -525,7 +520,7 @@ def account_unset(
525
520
self.create("", headers=headers)
526
521
527
522
def _find_account_id(self):
528
- url_parts = urlparse(self.endpoint)
523
+ url_parts = urllib.parse.urlparse(self.endpoint)
529
524
return url_parts.path.split('/')[-1]
530
531
def _unset_properties(self, properties, header_tag):
0 commit comments