File: deploy.py

package info (click to toggle)
python-pecan 0.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,372 kB
  • ctags: 1,832
  • sloc: python: 9,048; makefile: 144; sh: 85
file content (9 lines) | stat: -rw-r--r-- 182 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
from .core import load_app


def deploy(config):
    """
    Given a config (dictionary of relative filename), returns a configured
    WSGI app.
    """
    return load_app(config)