(self, indent=0)
return None
Prints the channel and it's subchannels recursive. If restore_order is
        true, the child channels will be sorted before printing them.
Prints the channel and it's subchannels recursive. If restore_order is
        true, the child channels will be sorted before printing them.
Prints the channel and it s subchannels recursive . If restore_order is true the child channels will be sorted before printing them .
def print(self, indent=0):
        """
        Prints the channel and it's subchannels recursive. If restore_order is
        true, the child channels will be sorted before printing them.
        """
        if self.is_root():
            print(" "*(indent*3) + "|-", self.info["virtualserver_name"])
        else:
            print(" "*(indent*3) + "|-", self.info["channel_name"])
            for client in self.clients:
                # Ignore query clients
                if client["client_type"] == "1":
                    continue
                print(" "*(indent*3+3) + "->", client["client_nickname"])

        for child in self.childs:
            child.print(indent=indent + 1)
        return None
def print ( self , indent = 0 ) : if self . is_root ( ) : print ( " " * ( indent * 3 ) + "|-" , self . info [ "virtualserver_name" ] ) else : print ( " " * ( indent * 3 ) + "|-" , self . info [ "channel_name" ] ) for client in self . clients : # Ignore query clients if client [ "client_type" ] == "1" : continue print ( " " * ( indent * 3 + 3 ) + "->" , client [ "client_nickname" ] ) for child in self . childs : child . print ( indent = indent + 1 ) return None