def get_lock_pid(self):
        try:
            return int(open(self.lock_filename).read())
        except __HOLE__:
            # If we can't read symbolic link, there are two possibilities:
            # 1. The symbolic link is dead (point to non existing file)
            # 2. Symbolic link is not there
            # In either case, we can safely release the lock
            self.release()
dataset/ETHPy150Open ui/django-post_office/post_office/lockfile.py/FileLock.get_lock_pid