(self)
Print ascii-tree for set.
        Expects that data for all nodes is filled in.
Print ascii-tree for set.
        Expects that data for all nodes is filled in.
Print ascii - tree for set . Expects that data for all nodes is filled in .
def print_tree(self):
        """Print ascii-tree for set.
        Expects that data for all nodes is filled in."""

        print('Queue: %s   Local node: %s' % (self.queue_name, self.local_node.name))
        print('')

        root_list = self._prepare_tree()
        for root in root_list:
            self._tree_calc(root)
            datalines = self._print_node(root, '', [])
            for ln in datalines:
                print(self._DATAFMT % (' ', ln))
def print_tree ( self ) : print ( 'Queue: %s   Local node: %s' % ( self . queue_name , self . local_node . name ) ) print ( '' ) root_list = self . _prepare_tree ( ) for root in root_list : self . _tree_calc ( root ) datalines = self . _print_node ( root , '' , [ ] ) for ln in datalines : print ( self . _DATAFMT % ( ' ' , ln ) )