Skip to content

Commit

Permalink
Removed unneeded variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed May 21, 2017
1 parent 86e2d6c commit edbd156
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/utils.py
Expand Up @@ -2212,7 +2212,7 @@ def add_defaults(self, posts_per_classification_per_language):
"""
# First collect all classifications from all languages
all_classifications = set()
for lang, classifications in posts_per_classification_per_language.items():
for _, classifications in posts_per_classification_per_language.items():
all_classifications.update(classifications.keys())
# Next, add translation records for all of them
for classification in all_classifications:
Expand Down

0 comments on commit edbd156

Please sign in to comment.