index.py.ex
author fabien@tzone.org
Mon, 05 Jan 2009 18:11:38 -0500
changeset 76 147eddb3826c
parent 68 c1f1491f098c
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

if (__name__ == '__main__'):
	import sys
	sys.path.insert(0, "./lib")

from config import CONFIG

CONFIG.db_name = 'database_name'
CONFIG.db_user = 'my_user'
CONFIG.db_host = 'db.host.com'
CONFIG.db_passwd = 'secr3t.passwd'
# CONFIG.db_port = 5432

import xbelweb

if (__name__ == "__main__"):
	xbelweb.main()