|
a/Allura/allura/config/environment.py |
|
b/Allura/allura/config/environment.py |
1 |
# -*- coding: utf-8 -*-
|
1 |
# -*- coding: utf-8 -*-
|
2 |
"""WSGI environment setup for allura."""
|
2 |
"""WSGI environment setup for allura."""
|
3 |
|
3 |
|
4 |
import pylons
|
4 |
import pylons
|
5 |
import pylons.middleware
|
5 |
pylons.c = pylons.tmpl_context
|
|
|
6 |
pylons.g = pylons.app_globals
|
6 |
import tg
|
7 |
import tg
|
7 |
import tg.error
|
8 |
import tg.error
|
8 |
pylons.c = pylons.tmpl_context
|
9 |
import pylons.middleware
|
9 |
pylons.g = pylons.app_globals
|
|
|
10 |
|
10 |
|
11 |
from allura.config.app_cfg import base_config
|
11 |
from allura.config.app_cfg import base_config
|
12 |
|
12 |
|
13 |
__all__ = ['load_environment']
|
13 |
__all__ = ['load_environment']
|
14 |
|
14 |
|