#!/usr/bin/python2.5
# :set filetype=py

"""
    FastCGI mode using qmsk.web.fastcgi_main
"""

from qmsk.web import fastcgi_main

# XXX: error handling for imports? Lighttp sucks hard at this
from qmsk.irclogs import wsgi

def main () :
    """
        Build our WSGIApplication and run
    """

    # create app
    app = wsgi.Application()

    # run once
    fastcgi_main.run(app)

if __name__ == '__main__' :
    main()

