(disks, disk_prefix)
Loops through disk list and rename its named properties.
Loops through disk list and rename its named properties.
Loops through disk list and rename its named properties .
def NameTheDisks(disks, disk_prefix):
  """Loops through disk list and rename its named properties."""
  for disk in disks:
    if default.DISK_NAME in disk:
      disk[default.DISK_NAME] = disk_prefix + '-' + disk[default.DISK_NAME]
    if default.DEVICE_NAME in disk:
      disk[default.DEVICE_NAME] = disk_prefix + '-' + disk[default.DEVICE_NAME]
def NameTheDisks ( disks , disk_prefix ) : for disk in disks : if default . DISK_NAME in disk : disk [ default . DISK_NAME ] = disk_prefix + '-' + disk [ default . DISK_NAME ] if default . DEVICE_NAME in disk : disk [ default . DEVICE_NAME ] = disk_prefix + '-' + disk [ default . DEVICE_NAME ]