Skip to content
Permalink
Browse files
Add missing )
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Dec 10, 2016
1 parent 72ad683 commit 167839ce7ea0464bb5d0cee22d1ba4b9de632be6
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/plugins/misc/taxonomies_classifier.py
@@ -67,7 +67,7 @@ def _do_classification(self, site):
# Extract classifications for this language
classifications[lang] = taxonomy.classify(post, lang)
if not taxonomy.more_than_one_classifications_per_post and len(classifications[lang]) > 1:
raise ValueError("Too many {0} classifications for post {1}".format(taxonomy.classification_name, post.source_path)
raise ValueError("Too many {0} classifications for post {1}".format(taxonomy.classification_name, post.source_path))
# Add post to sets
for classification in classifications[lang]:
while True:

0 comments on commit 167839c

Please sign in to comment.