diff --git a/pelican/contents.py b/pelican/contents.py index 4397d424..0123384a 100644 --- a/pelican/contents.py +++ b/pelican/contents.py @@ -311,8 +311,8 @@ class Content(object): def _get_summary(self): """deprecated function to access summary""" - logger.warn('_get_summary() has been deprecated since 3.6.4. ' - 'Use the summary decorator instead') + logger.warning('_get_summary() has been deprecated since 3.6.4. ' + 'Use the summary decorator instead') return self.summary @summary.setter