~ubuntu-branches/debian/sid/openchange/sid

« back to all changes in this revision

Viewing changes to mapiproxy/services/ocsmanager/ocsmanager/websetup.py

  • Committer: Package Import Robot
  • Author(s): Jelmer Vernooij
  • Date: 2012-04-12 20:07:57 UTC
  • mfrom: (11 sid)
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: package-import@ubuntu.com-20120412200757-k933d9trljmxj1l4
Tags: 1:1.0-4
* openchangeserver: Add dependency on openchangeproxy.
* Rebuild against newer version of Samba 4.
* Use dpkg-buildflags.
* Migrate to Git, update Vcs-Git header.
* Switch to debhelper 9.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
"""Setup the ocsmanager application"""
 
2
import logging
 
3
 
 
4
import pylons.test
 
5
 
 
6
from ocsmanager.config.environment import load_environment
 
7
 
 
8
log = logging.getLogger(__name__)
 
9
 
 
10
def setup_app(command, conf, vars):
 
11
    """Place any commands to setup ocsmanager here"""
 
12
    # Don't reload the app if it was loaded under the testing environment
 
13
    if not pylons.test.pylonsapp:
 
14
        load_environment(conf.global_conf, conf.local_conf)