Mercurial > kallithea
comparison rhodecode/lib/middleware/simplegit.py @ 4089:a5888ca796b5
Fixed spelling of get's to gets
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 16 Jul 2013 21:54:28 +0200 |
parents | 5293d4bbb1ea |
children | ffd45b185016 |
comparison
equal
deleted
inserted
replaced
4088:7c73f1868318 | 4089:a5888ca796b5 |
---|---|
68 'git-upload-pack': SimpleGitUploadPackHandler, | 68 'git-upload-pack': SimpleGitUploadPackHandler, |
69 #git-push | 69 #git-push |
70 'git-receive-pack': dulserver.ReceivePackHandler, | 70 'git-receive-pack': dulserver.ReceivePackHandler, |
71 } | 71 } |
72 | 72 |
73 # not used for now until dulwich get's fixed | 73 # not used for now until dulwich gets fixed |
74 #from dulwich.repo import Repo | 74 #from dulwich.repo import Repo |
75 #from dulwich.web import make_wsgi_chain | 75 #from dulwich.web import make_wsgi_chain |
76 | 76 |
77 from paste.httpheaders import REMOTE_USER, AUTH_TYPE | 77 from paste.httpheaders import REMOTE_USER, AUTH_TYPE |
78 from webob.exc import HTTPNotFound, HTTPForbidden, HTTPInternalServerError, \ | 78 from webob.exc import HTTPNotFound, HTTPForbidden, HTTPInternalServerError, \ |
262 app = GunzipFilter(LimitedInputFilter(app)) | 262 app = GunzipFilter(LimitedInputFilter(app)) |
263 return app | 263 return app |
264 | 264 |
265 def __get_repository(self, environ): | 265 def __get_repository(self, environ): |
266 """ | 266 """ |
267 Get's repository name out of PATH_INFO header | 267 Gets repository name out of PATH_INFO header |
268 | 268 |
269 :param environ: environ where PATH_INFO is stored | 269 :param environ: environ where PATH_INFO is stored |
270 """ | 270 """ |
271 try: | 271 try: |
272 environ['PATH_INFO'] = self._get_by_id(environ['PATH_INFO']) | 272 environ['PATH_INFO'] = self._get_by_id(environ['PATH_INFO']) |