Revision d9da5065 lib/rpc.py
b/lib/rpc.py | ||
---|---|---|
448 | 448 |
result = self._proc(node_list, procedure, body, read_timeout=read_timeout) |
449 | 449 |
|
450 | 450 |
if postproc_fn: |
451 |
return postproc_fn(result) |
|
451 |
return dict(map(lambda (key, value): (key, postproc_fn(value)), |
|
452 |
result.items())) |
|
452 | 453 |
else: |
453 | 454 |
return result |
454 | 455 |
|
Also available in: Unified diff