]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test/rgw: should import parse not urlparse 34173/head
authorKefu Chai <kchai@redhat.com>
Wed, 25 Mar 2020 13:47:54 +0000 (21:47 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 25 Mar 2020 13:47:56 +0000 (21:47 +0800)
urlparse is a function while parse is a submodule where parse_qsl() is
provided

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/rgw/rgw_multi/zone_ps.py

index 1e441dd4fed8aaaa4a6e48bdedc9e149fad190a2..b7af724c3de4447a8c741ee05ffcca17b121c4f6 100644 (file)
@@ -6,7 +6,7 @@ import hashlib
 import base64
 import xmltodict
 from six.moves import http_client
-from six.moves.urllib.parse import urlparse
+from six.moves.urllib import parse as urlparse
 from time import gmtime, strftime
 from tasks.rgw_multi.multisite import Zone
 import boto3