def _MigrationStatusPostProc(result):
  if not result.fail_msg and result.payload is not None:
    result.payload = objects.MigrationStatus.FromDict(result.payload)
  return result
Post-processor for L{rpc.node.RpcRunner.call_instance_get_migration_status}
dataset/ETHPy150Open ganeti/ganeti/lib/rpc_defs.py/_MigrationStatusPostProc