Show More
@@ -7,7 +7,6 b' from paste.deploy.converters import asbo' | |||
|
7 | 7 | from pylons.middleware import ErrorHandler, StatusCodeRedirect |
|
8 | 8 | from pylons.wsgiapp import PylonsApp |
|
9 | 9 | from routes.middleware import RoutesMiddleware |
|
10 | from paste.auth.basic import AuthBasicHandler | |
|
11 | 10 | from pylons_app.lib.simplehg import SimpleHg |
|
12 | 11 | from pylons_app.config.environment import load_environment |
|
13 | 12 |
@@ -34,6 +34,8 b' class SimpleHg(object):' | |||
|
34 | 34 | self.authenticate = AuthBasicAuthenticator(realm, authfunc) |
|
35 | 35 | |
|
36 | 36 | def __call__(self, environ, start_response): |
|
37 | #dirty fix for https | |
|
38 | environ['wsgi.url_scheme'] = 'https' | |
|
37 | 39 | if not is_mercurial(environ): |
|
38 | 40 | return self.application(environ, start_response) |
|
39 | 41 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now