refactor: Rename bugdown_version to markdown_version in models.py.

This commit is part of series of commits aimed at renaming bugdown to
markdown.
This commit is contained in:
Mohit Gupta
2020-06-28 16:55:28 +05:30
committed by Tim Abbott
parent 66d54d86ad
commit 7a40f6001c

View File

@@ -1792,10 +1792,10 @@ class Message(AbstractMessage):
@staticmethod
def need_to_render_content(rendered_content: Optional[str],
rendered_content_version: Optional[int],
bugdown_version: int) -> bool:
markdown_version: int) -> bool:
return (rendered_content is None or
rendered_content_version is None or
rendered_content_version < bugdown_version)
rendered_content_version < markdown_version)
def to_log_dict(self) -> Dict[str, Any]:
return dict(