##// END OF EJS Templates
py3: handle keyword arguments correctly in httppeer.py...
Pulkit Goyal -
r35360:98bc4c43 default
parent child Browse files
Show More
@@ -204,6 +204,7 b' class httppeer(wireproto.wirepeer):'
204 self._caps = set(self._call('capabilities').split())
204 self._caps = set(self._call('capabilities').split())
205
205
206 def _callstream(self, cmd, _compressible=False, **args):
206 def _callstream(self, cmd, _compressible=False, **args):
207 args = pycompat.byteskwargs(args)
207 if cmd == 'pushkey':
208 if cmd == 'pushkey':
208 args['data'] = ''
209 args['data'] = ''
209 data = args.pop('data', None)
210 data = args.pop('data', None)
General Comments 0
You need to be logged in to leave comments. Login now