Navigation Menu

Skip to content

Commit

Permalink
Better name.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Dec 5, 2016
1 parent 97d1db1 commit dd1dd81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nikola/nikola.py
Expand Up @@ -352,7 +352,7 @@
}

# Mapping old pre-taxonomy plugin names to new post-taxonomy plugin names
PLUGIN_NAME_MAP = {
TAXONOMY_COMPATIBILITY_PLUGIN_NAME_MAP = {
"render_archive": ["classify_archive"],
"render_authors": ["classify_authors"],
"render_indexes": ["classify_indexes", "classify_page_index", "classify_sections"],
Expand Down Expand Up @@ -807,7 +807,7 @@ def __init__(self, **config):
self.config['COMMENT_SYSTEM'] = 'muut'

# Handle old plugin names (from before merging the taxonomy PR #2535)
for old_plugin_name, new_plugin_names in PLUGIN_NAME_MAP.items():
for old_plugin_name, new_plugin_names in TAXONOMY_COMPATIBILITY_PLUGIN_NAME_MAP.items():
if old_plugin_name in self.config['DISABLED_PLUGINS']:
missing_plugins = []
for plugin_name in new_plugin_names:
Expand Down

0 comments on commit dd1dd81

Please sign in to comment.