urlparse import for python3 adds urlparse function to the
global namespace instead of a module name. Existing code
calling urlparse.urlparse() fails because of that.
Replace urlparse.urlparse() with urlparse().
Change-Id: I61c749b9beb8b5a09e82c8bc93087348b2c20d73
Closes-bug: 1828470
Signed-off-by: Daniel Badea <email address hidden>
Reviewed: https:/ /review. opendev. org/682619 /git.openstack. org/cgit/ starlingx/ utilities/ commit/ ?id=2e7d2550b9c 64a33910a567c34 33a12f3e68f25a
Committed: https:/
Submitter: Zuul
Branch: master
commit 2e7d2550b9c64a3 3910a567c3433a1 2f3e68f25a
Author: Daniel Badea <email address hidden>
Date: Tue Sep 17 11:10:22 2019 +0000
python- cephclient: fix urlparse function call
urlparse import for python3 adds urlparse function to the
global namespace instead of a module name. Existing code
calling urlparse.urlparse() fails because of that.
Replace urlparse.urlparse() with urlparse().
Change-Id: I61c749b9beb8b5 a09e82c8bc93087 348b2c20d73
Closes-bug: 1828470
Signed-off-by: Daniel Badea <email address hidden>