2010-03-14 21:29:38 -04:00
|
|
|
#! /usr/bin/python
|
2009-12-22 00:29:19 -05:00
|
|
|
|
|
|
|
__author__="bjschuma"
|
2010-03-14 21:29:38 -04:00
|
|
|
__date__ ="$Mar 13, 2010 4:19:39 PM$"
|
|
|
|
|
|
|
|
|
|
|
|
from ct.dict import Dict
|
|
|
|
from ct import path
|
|
|
|
import event
|
|
|
|
|
|
|
|
global vars
|
|
|
|
global events
|
|
|
|
|
|
|
|
vars = Dict()
|
|
|
|
events = event.Event()
|
|
|
|
|
2010-03-31 23:03:54 -04:00
|
|
|
'''Attempt to read in a configuration file'''
|
|
|
|
def config():
|
|
|
|
global vars
|
|
|
|
from ct.call import pyfile
|
|
|
|
config = "config.py"
|
|
|
|
pyfile(path.join(vars["$ocarina"],config))
|
|
|
|
pyfile(config)
|