Skip to content
Permalink
Browse files
Handle the pandoc case using new plugincategory metadata
  • Loading branch information
ralsina committed Aug 15, 2015
1 parent baf8737 commit bbd31e8944365f4bfc9b8754f1695aea489b8860
Showing with 5 additions and 0 deletions.
  1. +5 −0 nikola/nikola.py
@@ -757,6 +757,11 @@ def _init_plugins(self):
bad_candidates.add(p)
self.disabled_compilers[p[-1].name] = p
utils.LOGGER.debug('Not loading unneeded compiler {}', p[-1].name)
if p[-1].name not in self.config['COMPILERS'] and \
p[-1].details.has_option('Nikola', 'plugincategory') and p[-1].details.get('Nikola', 'PluginCategory') == 'Compiler':
bad_candidates.add(p)
self.disabled_compilers[p[-1].name] = p
utils.LOGGER.debug('Not loading unneeded compiler {}', p[-1].name)
# Remove blacklisted plugins
if p[-1].name in self.config['DISABLED_PLUGINS']:
bad_candidates.add(p)

0 comments on commit bbd31e8

Please sign in to comment.