Changeset - 7865043e4ca9
[Not reviewed]
beta
0 2 0
Marcin Kuzminski - 14 years ago 2011-10-01 20:40:34
marcin@python-works.com
fixed broken check_repo on middlewares
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
rhodecode/lib/middleware/simplegit.py
Show inline comments
 
@@ -192,7 +192,7 @@ class SimpleGit(object):
 
        log.debug('Repository path is %s' % repo_path)
 

	
 
        # quick check if that dir exists...
 
        if check_repo_fast(repo_name, self.basepath):
 
        if check_repo_fast(repo_name, self.basepath) is False:
 
            return HTTPNotFound()(environ, start_response)
 

	
 
        try:
rhodecode/lib/middleware/simplehg.py
Show inline comments
 
@@ -161,7 +161,7 @@ class SimpleHg(object):
 
        
 

	
 
        # quick check if that dir exists...
 
        if check_repo_fast(repo_name, self.basepath):
 
        if check_repo_fast(repo_name, self.basepath) is False:
 
            return HTTPNotFound()(environ, start_response)
 

	
 
        try:
0 comments (0 inline, 0 general)