Skip to content
Snippets Groups Projects
Commit 98bc4c43f570 authored by Pulkit Goyal's avatar Pulkit Goyal
Browse files

py3: handle keyword arguments correctly in httppeer.py

Differential Revision: https://phab.mercurial-scm.org/D1635
parent 8549ca7fcde1
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment