

def read(self):
    try:
        pid = int(os.read(self.fd, 128))
        os.lseek(self.fd, 0, os.SEEK_SET)
        return self
    except ValueError:
        return

dataset/ETHPy150Open openstack/neutron/neutron/agent/linux/daemon.py Pidfile.read/VarMisuse@46/51 `pid`->`self`