You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
408 B
Python
15 lines
408 B
Python
"""Setup the Yolanda application"""
|
|
import logging
|
|
|
|
from paste.deploy import appconfig
|
|
from pylons import config
|
|
|
|
from yolanda.config.environment import load_environment
|
|
|
|
log = logging.getLogger(__name__)
|
|
|
|
def setup_config(command, filename, section, vars):
|
|
"""Place any commands to setup yolanda here"""
|
|
conf = appconfig('config:' + filename)
|
|
load_environment(conf.global_conf, conf.local_conf)
|