Mercurial > kallithea
comparison rhodecode/lib/middleware/simplegit.py @ 2468:6af1e0d5ff9d beta
Fix repo_root for grouped repos
author | hppj <hppj@postmage.biz> |
---|---|
date | Thu, 14 Jun 2012 22:41:06 -0700 |
parents | 8a68e0292232 |
children | 94ef0b609d17 |
comparison
equal
deleted
inserted
replaced
2456:51b203e44202 | 2468:6af1e0d5ff9d |
---|---|
220 :param repo_path: full path to the repository | 220 :param repo_path: full path to the repository |
221 """ | 221 """ |
222 | 222 |
223 from rhodecode.lib.middleware.pygrack import make_wsgi_app | 223 from rhodecode.lib.middleware.pygrack import make_wsgi_app |
224 app = make_wsgi_app( | 224 app = make_wsgi_app( |
225 repo_root=os.path.dirname(repo_path), | 225 repo_root=safe_str(self.basepath), |
226 repo_name=repo_name, | 226 repo_name=repo_name, |
227 username=username, | 227 username=username, |
228 ) | 228 ) |
229 return app | 229 return app |
230 | 230 |