Revision a57e502a lib/client/gnt_instance.py

b/lib/client/gnt_instance.py
942 942
  return data
943 943

  
944 944

  
945
def _FormatListInfo(data):
946
  return list(str(i) for i in data)
947

  
948

  
949 945
def _FormatBlockDevInfo(idx, top_level, dev, roman):
950 946
  """Show block device information.
951 947

  
......
1043 1039
      data.append(("logical_id", l_id[0]))
1044 1040
    else:
1045 1041
      data.extend(l_id)
1046
  elif dev["physical_id"] is not None:
1047
    data.append(("physical_id:", _FormatListInfo(dev["physical_id"])))
1048 1042

  
1049 1043
  if dev["pstatus"]:
1050 1044
    data.append(("on primary", helper(dev["dev_type"], dev["pstatus"])))

Also available in: Unified diff