'Read PID and host data out of the file if it is there.'

def _read_lock_data(self):

    line = self._file.read()
    if line:
        (pid, host) = line.strip().split(',')
        (_, _, self.pid) = pid.rpartition('=')
        (_, _, self.host) = host.rpartition('=')
