Mercurial > hg
changeset 35359:98bc4c43f570
py3: handle keyword arguments correctly in httppeer.py
Differential Revision: https://phab.mercurial-scm.org/D1635
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sun, 10 Dec 2017 04:47:21 +0530 |
parents | 8549ca7fcde1 |
children | 6699825f1242 |
files | mercurial/httppeer.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/httppeer.py Sun Dec 10 04:47:04 2017 +0530 +++ b/mercurial/httppeer.py Sun Dec 10 04:47:21 2017 +0530 @@ -204,6 +204,7 @@ self._caps = set(self._call('capabilities').split()) def _callstream(self, cmd, _compressible=False, **args): + args = pycompat.byteskwargs(args) if cmd == 'pushkey': args['data'] = '' data = args.pop('data', None)