Revision c6ae283b

b/lib/backend.py
647 647
  if hv_specs is None:
648 648
    return None
649 649

  
650
  # FIXME: remove this fallback once all calls to call_node_info are fixed
651
  if (len(hv_specs) > 0) and isinstance(hv_specs[0], str):
652
    result = []
653
    for hvname in hv_specs:
654
      result.append(_GetHvInfo(hvname, None, get_hv_fn))
655
    return result
656

  
657 650
  result = []
658 651
  for hvname, hvparams in hv_specs:
659 652
    result.append(_GetHvInfo(hvname, hvparams, get_hv_fn))

Also available in: Unified diff