def _ImpExpStatusPostProc(result):
  if not result.fail_msg:
    decoded = []

    for i in result.payload:
      if i is None:
        decoded.append(None)
        continue
      decoded.append(objects.ImportExportStatus.FromDict(i))

    result.payload = decoded

  return result
Post-processor for import/export status.
dataset/ETHPy150Open ganeti/ganeti/lib/rpc_defs.py/_ImpExpStatusPostProc