summaryrefslogtreecommitdiff
path: root/gitlab/exceptions.py
diff options
context:
space:
mode:
authorCosimo Lupo <cosimo.lupo@daltonmaag.com>2017-06-02 14:41:06 +0100
committerGauvain Pocentek <gauvain@pocentek.net>2017-06-02 15:41:06 +0200
commit88900e06761794442716c115229bd1f780cfbcef (patch)
tree6011ab17b9be02e62ea141e037b7b1afdeafd02d /gitlab/exceptions.py
parent38bff3eb43ee6526b3e3b35c8207fac9ef9bc9d9 (diff)
downloadgitlab-88900e06761794442716c115229bd1f780cfbcef.tar.gz
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.
Diffstat (limited to 'gitlab/exceptions.py')
0 files changed, 0 insertions, 0 deletions