Show More
@@ -191,7 +191,7 b' class SummaryController(BaseRepoControll' | |||||
191 | def _get_readme_from_cache(key): |
|
191 | def _get_readme_from_cache(key): | |
192 | readme_data = None |
|
192 | readme_data = None | |
193 | readme_file = None |
|
193 | readme_file = None | |
194 |
log.debug(' |
|
194 | log.debug('Looking for README file') | |
195 | try: |
|
195 | try: | |
196 | # get's the landing revision! or tip if fails |
|
196 | # get's the landing revision! or tip if fails | |
197 | cs = db_repo.get_landing_changeset() |
|
197 | cs = db_repo.get_landing_changeset() | |
@@ -202,8 +202,9 b' class SummaryController(BaseRepoControll' | |||||
202 | if not isinstance(readme, FileNode): |
|
202 | if not isinstance(readme, FileNode): | |
203 | continue |
|
203 | continue | |
204 | readme_file = f |
|
204 | readme_file = f | |
|
205 | log.debug('Found README file `%s` rendering...' % | |||
|
206 | readme_file) | |||
205 | readme_data = renderer.render(readme.content, f) |
|
207 | readme_data = renderer.render(readme.content, f) | |
206 | log.debug('Found readme %s' % readme_file) |
|
|||
207 | break |
|
208 | break | |
208 | except NodeDoesNotExistError: |
|
209 | except NodeDoesNotExistError: | |
209 | continue |
|
210 | continue |
General Comments 0
You need to be logged in to leave comments.
Login now