changeset 37535 | 69e46c1834ac |
parent 37533 | df4985497986 |
child 37545 | 93397c4633f6 |
--- a/mercurial/wireprotoserver.py Fri Apr 06 16:49:57 2018 -0700 +++ b/mercurial/wireprotoserver.py Fri Apr 06 17:14:06 2018 -0700 @@ -606,10 +606,11 @@ def getargs(self, args): data = {} - for k in args.split(): + for k, typ in args.items(): if k == '*': raise NotImplementedError('do not support * args') elif k in self._args: + # TODO consider validating value types. data[k] = self._args[k] return data