From: Kefu Chai Date: Wed, 25 Mar 2020 13:47:54 +0000 (+0800) Subject: test/rgw: should import parse not urlparse X-Git-Tag: v15.2.4~42^2~6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a9cc9f75f76bb752da6cc83f25b417b94a5e1105;p=ceph.git test/rgw: should import parse not urlparse urlparse is a function while parse is a submodule where parse_qsl() is provided Signed-off-by: Kefu Chai (cherry picked from commit 0db88f775b204b44d5c7b3c50e5ad3fffad029f1) --- diff --git a/src/test/rgw/rgw_multi/zone_ps.py b/src/test/rgw/rgw_multi/zone_ps.py index 240e04f62c43..f6b60439a7a0 100644 --- a/src/test/rgw/rgw_multi/zone_ps.py +++ b/src/test/rgw/rgw_multi/zone_ps.py @@ -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