Changeset - 9374eecac156
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 13 years ago 2012-06-23 11:43:07
marcin@python-works.com
fix pygrack call on non-bare repos
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rhodecode/lib/middleware/pygrack.py
Show inline comments
 
@@ -189,7 +189,8 @@ class GitDirectory(object):
 
        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)
0 comments (0 inline, 0 general)