Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
import urlencode() from six.moves.urllib.parse instead of from urllib (…
…#268) Fixes AttributeError on Python 3, as `urlencode` function has been moved to `urllib.parse` module. `six.moves.urllib.parse.urlencode()` is an py2.py3 compatible alias of `urllib.parse.urlencode()` on Python 3, and of `urllib.urlencode()` on Python 2.
- Loading branch information
Cosimo Lupo
authored and
Gauvain Pocentek
committed
Jun 2, 2017
1 parent
38bff3e
commit 88900e0
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters