sites/irclogs.qmsk.net/log_channel.py
author Tero Marttila <terom@fixme.fi>
Sun, 08 Feb 2009 00:29:36 +0200
branchsites
changeset 41 9585441a4bfb
child 42 5a72c00c4ae4
permissions -rw-r--r--
working basic logs stuff
"""
    A channel represents a series of log events, stored in some log source
"""

class LogChannel (object) :
    """
        A single IRC channel, logged to some specific place
    """

    def __init__ (self, id, network, name, source) :
        """
            Initialize this channel from the given identifier key, network name, channel name, and LogSource
        """
        
        self.id = id
        self.network = network
        self.name = name
        self.source = source