(self)
| 26 | |
| 27 | class Application: |
| 28 | def __init__(self): |
| 29 | self.map = Mapper() |
| 30 | self.map.connect('app1', '/app1url', app=app1) |
| 31 | self.map.connect('app2', '/app2url', app=app2) |
| 32 | |
| 33 | def __call__(self, environ, start_response): |
| 34 | match = self.map.routematch(environ=environ) |