lib/config.py
author fabien@tzone.org
Mon, 05 Jan 2009 18:11:38 -0500
changeset 76 147eddb3826c
parent 65 b975a3d7606a
permissions -rw-r--r--
Remove ActionLoader and replace it with a standard dict of new Action objects. Fixes a bad behavior with default action.

#!/usr/bin/python

class DefaultConfig:
    def __init__(self):
        self.db_host = 'www.myhost.com'
        self.db_user = 'mydbuser'
        self.db_passwd = 'mypass'
        self.db_name = 'bookmarker3'
        self.db_port = 5432
        self.template_dir = 'templates'

CONFIG = DefaultConfig()