Commit db2ad9df authored by Chirayu Desai's avatar Chirayu Desai
Browse files

Fix urllib.parse (urlparse) handling

Revert "Fix "'module' object is not callable" error", and fix it properly.

* The urlparse module is renamed to urllib.parse in Python 3.
* This commit fixes the code to use "urllib.parse.urlparse"
  instead of creating a new module urlib and setting
  urlib.parse to urlparse.urlparse.
* Fixes an AttributeError:
  'function' object has no attribute 'uses_relative'

This reverts commit cd51f17c.

Change-Id: I48490b20ecd19cf5a6edd835506ea5a467d556ac
parent ef668c92
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment