def release(self):
        if self.lock_filename != self.pid_filename:
            try:
                os.unlink(self.lock_filename)
            except OSError:
                pass

        try:
            os.remove(self.pid_filename)
        except OSError:
            pass
Traverse the tree to remove all ephemeral nodes.
dataset/ETHPy150Open ui/django-post_office/post_office/lockfile.py/FileLock.release--crossover with--dataset/ETHPy150Open pinterest/kingpin/kingpin/tests/kazoo_utils/mock_kazoo_client.py/MockKazooClient._remove_all_ephemeral_nodes