Skip to content
Permalink
Browse files
Style fixes
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jul 5, 2017
1 parent 653f3a0 commit 562533dbb03e967afa9c54c3352258ec24244366
Showing with 3 additions and 3 deletions.
  1. +2 −1 nikola/metadata_extractors.py
  2. +1 −1 nikola/nikola.py
  3. +0 −1 nikola/plugins/compile/html.py
@@ -52,7 +52,8 @@ class MetaCondition(Enum):
class MetaPriority(Enum):
"""Priority of metadata.
An extractor is used if and only if the higher-priority extractors returned nothing."""
An extractor is used if and only if the higher-priority extractors returned nothing.
"""

override = 1
specialized = 2
@@ -79,7 +79,7 @@
Taxonomy,
)
from . import metadata_extractors
from .metadata_extractors import MetaSource, MetaPriority, default_metadata_extractors_by
from .metadata_extractors import default_metadata_extractors_by

if DEBUG:
logging.basicConfig(level=logging.DEBUG)
@@ -44,7 +44,6 @@ class CompileHtml(PageCompiler):
friendly_name = "HTML"
supports_metadata = True


def compile_string(self, data, source_path=None, is_two_file=True, post=None, lang=None):
"""Compile HTML into HTML strings, with shortcode support."""
if not is_two_file:

0 comments on commit 562533d

Please sign in to comment.