Skip to content

Commit

Permalink
Remove print debugging
Browse files Browse the repository at this point in the history
[ci skip]

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Mar 26, 2017
1 parent 3ad3af0 commit a79d0b3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions nikola/plugins/task/page_index.py
Expand Up @@ -99,12 +99,8 @@ def provide_context_and_uptodate(self, dirname, lang, node=None):
def should_generate_classification_page(self, dirname, post_list, lang):
"""Only generates list of posts for classification if this function returns True."""
short_destination = dirname + '/' + self.site.config['INDEX_FILE']
print('-S', short_destination)
print('-D', dirname)
print('-P', post_list)
for post in post_list:
# If there is an index.html pending to be created from a page, do not generate the page index.
print(post.destination_path(lang, sep='/'))
if post.destination_path(lang, sep='/') == short_destination:
return False
return True

0 comments on commit a79d0b3

Please sign in to comment.