Show More
@@ -188,10 +188,9 b' class GitDirectory(object):' | |||
|
188 | 188 | try: |
|
189 | 189 | app = GitRepository(self.repo_name, content_path, self.extras) |
|
190 | 190 | except (AssertionError, OSError): |
|
191 |
|
|
|
192 | app = GitRepository(self.repo_name, | |
|
193 | os.path.join(content_path, '.git'), | |
|
194 | self.username) | |
|
191 | content_path = os.path.join(content_path, '.git') | |
|
192 | if os.path.isdir(content_path): | |
|
193 | app = GitRepository(self.repo_name, content_path, self.extras) | |
|
195 | 194 | else: |
|
196 | 195 | return exc.HTTPNotFound()(environ, start_response) |
|
197 | 196 | return app(environ, start_response) |
General Comments 0
You need to be logged in to leave comments.
Login now