Fix linting errors

This commit is contained in:
Eric Holscher 2015-10-19 14:10:31 -07:00
parent 1888e2fed4
commit a9b9dbe01f

View file

@ -197,7 +197,7 @@ class AutoStructify(transforms.Transform):
if not isinstance(content, nodes.Text):
return None
content = content.astext().strip()
if content.startswith('$') and content.endswith('$'):
if content.startswith('$') and content.endswith('$'):
if not self.config['enable_inline_math']:
return None
content = content[1:-1]
@ -208,7 +208,6 @@ class AutoStructify(transforms.Transform):
else:
return None
def auto_code_block(self, node):
"""Try to automatically generate nodes for codeblock syntax.