Show More
@@ -52,15 +52,15 b' def make_app(global_conf, full_stack=Tru' | |||||
52 | app = ProfilingMiddleware(app) |
|
52 | app = ProfilingMiddleware(app) | |
53 |
|
53 | |||
54 |
|
54 | |||
55 | # we want our low level middleware to get to the request ASAP. We don't |
|
|||
56 | # need any pylons stack middleware in them |
|
|||
57 | app = SimpleHg(app, config) |
|
|||
58 | app = SimpleGit(app, config) |
|
|||
59 |
|
||||
60 | if asbool(full_stack): |
|
55 | if asbool(full_stack): | |
61 | # Handle Python exceptions |
|
56 | # Handle Python exceptions | |
62 | app = ErrorHandler(app, global_conf, **config['pylons.errorware']) |
|
57 | app = ErrorHandler(app, global_conf, **config['pylons.errorware']) | |
63 |
|
58 | |||
|
59 | # we want our low level middleware to get to the request ASAP. We don't | |||
|
60 | # need any pylons stack middleware in them | |||
|
61 | app = SimpleHg(app, config) | |||
|
62 | app = SimpleGit(app, config) | |||
|
63 | ||||
64 | # Display error documents for 401, 403, 404 status codes (and |
|
64 | # Display error documents for 401, 403, 404 status codes (and | |
65 | # 500 when debug is disabled) |
|
65 | # 500 when debug is disabled) | |
66 | if asbool(config['debug']): |
|
66 | if asbool(config['debug']): |
General Comments 0
You need to be logged in to leave comments.
Login now