Show More
@@ -192,7 +192,7 b' class SimpleGit(object):' | |||||
192 | log.debug('Repository path is %s' % repo_path) |
|
192 | log.debug('Repository path is %s' % repo_path) | |
193 |
|
193 | |||
194 | # quick check if that dir exists... |
|
194 | # quick check if that dir exists... | |
195 | if check_repo_fast(repo_name, self.basepath): |
|
195 | if check_repo_fast(repo_name, self.basepath) is False: | |
196 | return HTTPNotFound()(environ, start_response) |
|
196 | return HTTPNotFound()(environ, start_response) | |
197 |
|
197 | |||
198 | try: |
|
198 | try: |
@@ -161,7 +161,7 b' class SimpleHg(object):' | |||||
161 |
|
161 | |||
162 |
|
162 | |||
163 | # quick check if that dir exists... |
|
163 | # quick check if that dir exists... | |
164 | if check_repo_fast(repo_name, self.basepath): |
|
164 | if check_repo_fast(repo_name, self.basepath) is False: | |
165 | return HTTPNotFound()(environ, start_response) |
|
165 | return HTTPNotFound()(environ, start_response) | |
166 |
|
166 | |||
167 | try: |
|
167 | try: |
General Comments 0
You need to be logged in to leave comments.
Login now