Files @ a83a1799480c
Branch filter:

Location: kallithea/pylons_app/websetup.py - annotation

Marcin Kuzminski
Reimplemented way of caching repos list, hg model now get's repos objects right from cached dict, this way we skipp creating instances of MercurialRepository and gain performance. Some import cleanup
1
2
3
4
5
6
7
8
9
"""Setup the pylons_app application"""
import logging
from pylons_app.config.environment import load_environment
log = logging.getLogger(__name__)


def setup_app(command, conf, vars):
    """Place any commands to setup pylons_app here"""
    load_environment(conf.global_conf, conf.local_conf)