Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Roberto Alsina committed Jun 6, 2017
1 parent 0630374 commit fbf41c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions nikola/nikola.py
Expand Up @@ -965,8 +965,9 @@ def __init__(self, **config):
if config.get('METADATA_FORMAT', 'nikola').lower() == 'pelican':
if 'markdown.extensions.meta' not in config.get('MARKDOWN_EXTENSIONS', []) \
and 'markdown' in self.config['COMPILERS']:
utils.LOGGER.warn('To use the pelican metadata format you need to add '
'"markdown.extensions.meta" to your MARKDOWN_EXTENSIONS setting.')
utils.LOGGER.warn(
'To use the pelican metadata format you need to add '
'"markdown.extensions.meta" to your MARKDOWN_EXTENSIONS setting.')

# We use one global tzinfo object all over Nikola.
try:
Expand Down
1 change: 0 additions & 1 deletion nikola/plugins/compile/html.py
Expand Up @@ -111,4 +111,3 @@ def read_metadata(self, post, file_metadata_regexp=None, unslugify_titles=False,
metadata[k] = tag.get('content', '')
map_metadata(metadata, 'html_metadata', self.site.config)
return metadata

0 comments on commit fbf41c2

Please sign in to comment.