1
0
Fork 0
forked from github/pelican

Tidy and shorten a comment

This commit is contained in:
Justin Mayer 2019-08-23 19:02:48 +02:00
commit f6ef027014

View file

@ -141,8 +141,7 @@ class Content(object):
# manage status
if not hasattr(self, 'status'):
# using None as the default here breaks comment plugins (and
# probably others)
# Previous default of None broke comment plugins and perhaps others
self.status = getattr(self, 'default_status', '')
# store the summary metadata if it is set