channels.py
changeset 51 07ca28f3a9f2
parent 50 f13cf27a360b
child 73 5a7188bf2894
equal deleted inserted replaced
50:f13cf27a360b 51:07ca28f3a9f2
    45         """
    45         """
    46             Looks up the LogChannel for the given name
    46             Looks up the LogChannel for the given name
    47         """
    47         """
    48 
    48 
    49         return self.channels[channel_name]
    49         return self.channels[channel_name]
       
    50     
       
    51     def dict (self) :
       
    52         """
       
    53             Returns a { name: LogChannel } dict
       
    54         """
       
    55         return self.channels
    50 
    56 
    51     def __iter__ (self) :
    57     def __iter__ (self) :
    52         """
    58         """
    53             Iterate over our defined LogChannel objects
    59             Iterate over our defined LogChannel objects
    54         """
    60         """