def get_mount_info(partition_list):
 mount_info = set()
 for p in partition_list:
  try:
   uuid = utils.system_output(('blkid -p -s UUID -o value %s' % p.device))
  except error.CmdError:
   uuid = p.device
  mount_info.add((uuid, p.get_mountpoint()))
 return mount_info

def get_mount_info ( partition_list ) : mount_info = set ( ) for p in partition_list : try : uuid = utils . system_output ( ( 'blkid -p -s UUID -o value %s' % p . device ) ) except error . CmdError : uuid = p . device mount_info . add ( ( uuid , p . get_mountpoint ( ) ) ) return mount_info
picks up mount point information about the machine mounts .