From 06c71c22962ff49de5661e07a6ee37dc3b51c717 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 30 Nov 2017 00:25:01 +0100 Subject: [PATCH] m.htmlsanity: use double quotes for text. --- pelican-plugins/m/htmlsanity.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pelican-plugins/m/htmlsanity.py b/pelican-plugins/m/htmlsanity.py index 8c155cc7..4ed9d1b5 100644 --- a/pelican-plugins/m/htmlsanity.py +++ b/pelican-plugins/m/htmlsanity.py @@ -714,7 +714,7 @@ def configure_pelican(pelicanobj): # TODO: remove when 3.8 with https://github.com/getpelican/pelican/pull/2164 # (or the _link_replacer part of it) is released if not hasattr(Content, '_link_replacer'): - logger.warning('Unpatched Pelican <= 3.7.1 detected, monkey-patching for expand_link filter support') + logger.warning("Unpatched Pelican <= 3.7.1 detected, monkey-patching for expand_link filter support") pelicanobj.settings['JINJA_FILTERS']['expand_link'] = expand_link_pelican371 else: pelicanobj.settings['JINJA_FILTERS']['expand_link'] = expand_link @@ -729,7 +729,7 @@ def add_reader(readers): # TODO: remove when 3.8 with https://github.com/getpelican/pelican/pull/2163 # is released if not hasattr(RstReader, 'writer_class') or not hasattr(RstReader, 'field_body_translator_class'): - logger.warning('Unpatched Pelican <= 3.7.1 detected, monkey-patching for htmlsanity support') + logger.warning("Unpatched Pelican <= 3.7.1 detected, monkey-patching for htmlsanity support") readers.reader_classes['rst'] = SaneRstReaderPelican371 else: readers.reader_classes['rst'] = SaneRstReader -- 2.30.2