def pid(self):
        # Get the pid from the pidfile
        try:
            pf = file(self.pidfile, 'r')
            pid = int(pf.read().strip())
            pf.close()
            return pid
        except __HOLE__:
            return None
        except ValueError:
            return None
dataset/ETHPy150Open serverdensity/sd-agent/daemon.py/Daemon.pid