Changeset - 378b0247e938
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 13 years ago 2012-06-06 14:23:40
marcin@python-works.com
fix pygrack for non bare git repos
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rhodecode/lib/middleware/pygrack.py
Show inline comments
 
@@ -171,7 +171,8 @@ class GitDirectory(object):
 
            app = GitRepository(self.repo_name, content_path)
 
        except (AssertionError, OSError):
 
            if os.path.isdir(os.path.join(content_path, '.git')):
 
                app = GitRepository(os.path.join(content_path, '.git'))
 
                app = GitRepository(self.repo_name,
 
                                    os.path.join(content_path, '.git'))
 
            else:
 
                return exc.HTTPNotFound()(environ, start_response)
 
        return app(environ, start_response)
0 comments (0 inline, 0 general)