phonon/nodelist.py
def remove_expired_nodes(self, node_ids=None):
        """
        Removes all expired nodes from the nodelist.  If a set of node_ids is
        passed in, those ids are checked to ensure they haven't been refreshed
        prior to a lock being acquired.

        Should only be run with a lock.

        :param list node_ids: optional, a list of node_ids to remove.  They
            will be verified to ensure they haven't been refreshed.

        """
        nodes = self.find_expired_nodes(node_ids)
        if nodes:
            self.conn.client.hdel(self.nodelist_key, *nodes)
def remove_expired_nodes(self, node_ids=None):
        nodes = self.find_expired_nodes(node_ids)
        if nodes:
            self.conn.client.hdel(self.nodelist_key, *nodes)
def remove_expired_nodes ( self , node_ids = None ) : nodes = self . find_expired_nodes ( node_ids ) if nodes : self . conn . client . hdel ( self . nodelist_key , * nodes )
Removes all expired nodes from the nodelist.  If a set of node_ids is
        passed in, those ids are checked to ensure they haven't been refreshed
        prior to a lock being acquired.

        Should only be run with a lock.

        :param list node_ids: optional, a list of node_ids to remove.  They
            will be verified to ensure they haven't been refreshed.
Removes all expired nodes from the nodelist . If a set of node_ids is passed in those ids are checked to ensure they haven t been refreshed prior to a lock being acquired .