sites/irclogs.qmsk.net/log_event.py
author Tero Marttila <terom@fixme.fi>
Sun, 08 Feb 2009 02:55:53 +0200
branchsites
changeset 43 fc11c4e86a82
parent 41 9585441a4bfb
permissions -rw-r--r--
implement channel_view count, the query stuff, css, layout all need some cleanup :(
"""
    An IRC logfile consists of a series of events, a.k.a. "lines"
"""

class LogEvent (object) :
    """
        An event on some specific channel
    """

    # the event ype
    type = None

    # the UTC timestamp of the event
    timestamp = None

    # the event source
    source = None

    # associated data (message, etc)
    data = None