Fix version test.

This commit is contained in:
Tom Christie 2011-12-21 00:52:41 +00:00
parent a3ddd9e4c9
commit 6e6dc21376

View File

@ -412,7 +412,7 @@ try:
extensions = ['headerid(level=2)']
safe_mode = False,
if markdown.version < (2, 1):
if markdown.version_info < (2, 1):
output_format = markdown.DEFAULT_OUTPUT_FORMAT
md = markdown.Markdown(extensions=markdown.load_extensions(extensions),