def removePID(self, pidfile):
        """
        Remove the specified PID file, if possible.  Errors are logged, not
        raised.

        @type pidfile: C{str}
        @param pidfile: The path to the PID tracking file.
        """
        if not pidfile:
            return
        try:
            os.unlink(pidfile)
        except __HOLE__, e:
            if e.errno == errno.EACCES or e.errno == errno.EPERM:
                log.msg("Warning: No permission to delete pid file")
            else:
                log.err(e, "Failed to unlink PID file")
        except:
            log.err(None, "Failed to unlink PID file")
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/scripts/_twistd_unix.py/UnixApplicationRunner.removePID