bugdown/init: Fix typing for fence variable.

This commit is contained in:
Wyatt Hoodes
2019-07-26 11:48:49 -10:00
committed by Tim Abbott
parent 22481f63bf
commit 1706e06884

View File

@@ -1486,7 +1486,7 @@ class BugdownUListPreprocessor(markdown.preprocessors.Preprocessor):
def run(self, lines: List[str]) -> List[str]:
""" Insert a newline between a paragraph and ulist if missing """
inserts = 0
fence = None
fence = None # type: Optional[Match.group]
copy = lines[:]
for i in range(len(lines) - 1):
# Ignore anything that is inside a fenced code block