Skip to content
Permalink
Browse files

Fixing typo and logic.

  • Loading branch information...
felixfontein committed Dec 5, 2016
1 parent 0e6baa9 commit 97d1db1f327b637e659a348747cba213cef6846e
Showing with 4 additions and 4 deletions.
  1. +4 −4 nikola/nikola.py
@@ -812,11 +812,11 @@ def __init__(self, **config):
missing_plugins = []
for plugin_name in new_plugin_names:
if plugin_name not in self.config['DISABLED_PLUGINS']:
missing_plugins.apped(plugin_name)
utils.LOGGER.warn('The "{}" plugin was replaced by several taxonomy plugins (see PR #2535): {}'.format(old_plugin_name, ', '.join(new_plugin_names)))
utils.LOGGER.warn('You are currently disabling "{}", but not the following new taxonomy plugins: {}'.format(old_plugin_name, ', '.join(missing_plugins)))
utils.LOGGER.warn('Please also disable these new plugins or remove "{}" from the DISABLED_PLUGINS list.'.format(old_plugin_name))
missing_plugins.append(plugin_name)
if missing_plugins:
utils.LOGGER.warn('The "{}" plugin was replaced by several taxonomy plugins (see PR #2535): {}'.format(old_plugin_name, ', '.join(new_plugin_names)))
utils.LOGGER.warn('You are currently disabling "{}", but not the following new taxonomy plugins: {}'.format(old_plugin_name, ', '.join(missing_plugins)))
utils.LOGGER.warn('Please also disable these new plugins or remove "{}" from the DISABLED_PLUGINS list.'.format(old_plugin_name))
self.config['DISABLED_PLUGINS'].extend(missing_plugins)

# Disable RSS. For a successful disable, we must have both the option

0 comments on commit 97d1db1

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