Revision 764ff2eb
b/lib/rpc.py | ||
---|---|---|
470 | 470 |
else: |
471 | 471 |
# for a custom prep_fn, we pass the encoded arguments and the |
472 | 472 |
# node name to the prep_fn, and we serialise its return value |
473 |
assert(callable(prep_fn))
|
|
473 |
assert callable(prep_fn)
|
|
474 | 474 |
pnbody = dict((n, serializer.DumpJson(prep_fn(n, enc_args))) |
475 | 475 |
for n in node_list) |
476 | 476 |
|
Also available in: Unified diff