Skip to content
Permalink
Browse files

Better name.

  • Loading branch information...
felixfontein committed Dec 5, 2016
1 parent 97d1db1 commit dd1dd81d3cee662b9876f46a363dcdbf68b627d1
Showing with 2 additions and 2 deletions.
  1. +2 −2 nikola/nikola.py
@@ -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"],
@@ -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:

0 comments on commit dd1dd81

Please sign in to comment.
You can’t perform that action at this time.