Revision e78667fe lib/rpc.py

b/lib/rpc.py
461 461
    else:
462 462
      req_resolver_opts = resolver_opts
463 463

  
464
    if len(args) != len(argdefs):
465
      raise errors.ProgrammerError("Number of passed arguments doesn't match")
466

  
464 467
    enc_args = map(self._encoder, zip(map(compat.snd, argdefs), args))
465 468
    if prep_fn is None:
466 469
      # for a no-op prep_fn, we serialise the body once, and then we

Also available in: Unified diff