def _GetNamedNodeInfo(names, fn):
  if names is None:
    return None
  else:
    return map(fn, names)
Calls C{fn} for all names in C{names} and returns a dictionary.
dataset/ETHPy150Open ganeti/ganeti/lib/backend.py/_GetNamedNodeInfo