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

« back to all changes in this revision

Viewing changes to mapiproxy/services/ocsmanager/ocsmanager/lib/base.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
"""The base Controller API
 
2
 
 
3
Provides the BaseController class for subclassing.
 
4
"""
 
5
from pylons.controllers import WSGIController
 
6
from pylons.templating import render_mako as render
 
7
 
 
8
class BaseController(WSGIController):
 
9
 
 
10
    def __call__(self, environ, start_response):
 
11
        """Invoke the Controller"""
 
12
        # WSGIController.__call__ dispatches to the Controller method
 
13
        # the request is routed to. This routing information is
 
14
        # available in environ['pylons.routes_dict']
 
15
        return WSGIController.__call__(self, environ, start_response)