Mercurial > hg
comparison contrib/check-config.py @ 31842:c130d092042a
py3: add a bytes version of urllib.parse.urlencode() to pycompat.py
urllib.parse.urlencode() returns unicodes on Python 3. This commit adds a
method which will take its output and encode it to bytes so that we can use
bytes consistently.
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Fri, 07 Apr 2017 16:00:44 +0530 |
parents | a92ee4d8a574 |
children | e5a6a540ae63 |
comparison
equal
deleted
inserted
replaced
31841:9ff5a124d111 | 31842:c130d092042a |
---|