Mercurial > kallithea
changeset 2502:9374eecac156 beta
fix pygrack call on non-bare repos
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 23 Jun 2012 11:43:07 +0200 |
parents | 044c31d67ccc |
children | d04243e932cc |
files | rhodecode/lib/middleware/pygrack.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/lib/middleware/pygrack.py Thu Jun 21 17:51:01 2012 +0200 +++ b/rhodecode/lib/middleware/pygrack.py Sat Jun 23 11:43:07 2012 +0200 @@ -189,7 +189,8 @@ except (AssertionError, OSError): if os.path.isdir(os.path.join(content_path, '.git')): app = GitRepository(self.repo_name, - os.path.join(content_path, '.git')) + os.path.join(content_path, '.git'), + self.username) else: return exc.HTTPNotFound()(environ, start_response, self.username) return app(environ, start_response)