Show More
@@ -9,9 +9,9 b' whoosh>=2.3.0,<2.4' | |||||
9 | celery>=2.2.5,<2.3 |
|
9 | celery>=2.2.5,<2.3 | |
10 | babel |
|
10 | babel | |
11 | python-dateutil>=1.5.0,<2.0.0 |
|
11 | python-dateutil>=1.5.0,<2.0.0 | |
12 |
dulwich>=0.8. |
|
12 | dulwich>=0.8.4,<0.9.0 | |
13 | webob==1.0.8 |
|
13 | webob==1.0.8 | |
14 | markdown==2.1.1 |
|
14 | markdown==2.1.1 | |
15 | docutils==0.8.1 |
|
15 | docutils==0.8.1 | |
16 | py-bcrypt |
|
16 | py-bcrypt | |
17 | mercurial>=2.1,<2.2 No newline at end of file |
|
17 | mercurial>=2.1,<2.2 |
@@ -65,7 +65,7 b' dulserver.DEFAULT_HANDLERS = {' | |||||
65 | } |
|
65 | } | |
66 |
|
66 | |||
67 | from dulwich.repo import Repo |
|
67 | from dulwich.repo import Repo | |
68 |
from dulwich.web import |
|
68 | from dulwich.web import make_wsgi_chain | |
69 |
|
69 | |||
70 | from paste.httpheaders import REMOTE_USER, AUTH_TYPE |
|
70 | from paste.httpheaders import REMOTE_USER, AUTH_TYPE | |
71 |
|
71 | |||
@@ -205,7 +205,7 b' class SimpleGit(BaseVCSController):' | |||||
205 | """ |
|
205 | """ | |
206 | _d = {'/' + repo_name: Repo(repo_path)} |
|
206 | _d = {'/' + repo_name: Repo(repo_path)} | |
207 | backend = dulserver.DictBackend(_d) |
|
207 | backend = dulserver.DictBackend(_d) | |
208 |
gitserve = |
|
208 | gitserve = make_wsgi_chain(backend) | |
209 |
|
209 | |||
210 | return gitserve |
|
210 | return gitserve | |
211 |
|
211 |
General Comments 0
You need to be logged in to leave comments.
Login now