# HG changeset patch # User Marcin Kuzminski # Date 1317494434 -10800 # Node ID 7865043e4ca902aeb5b80632462654ea2c01224a # Parent bb6ba7442293a81dc73fd70103139930ea69c286 fixed broken check_repo on middlewares diff -r bb6ba7442293 -r 7865043e4ca9 rhodecode/lib/middleware/simplegit.py --- a/rhodecode/lib/middleware/simplegit.py Sat Oct 01 19:05:47 2011 +0300 +++ b/rhodecode/lib/middleware/simplegit.py Sat Oct 01 21:40:34 2011 +0300 @@ -192,7 +192,7 @@ 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: diff -r bb6ba7442293 -r 7865043e4ca9 rhodecode/lib/middleware/simplehg.py --- a/rhodecode/lib/middleware/simplehg.py Sat Oct 01 19:05:47 2011 +0300 +++ b/rhodecode/lib/middleware/simplehg.py Sat Oct 01 21:40:34 2011 +0300 @@ -161,7 +161,7 @@ # 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: