remove unused variable (#604)

This commit is contained in:
Jelle Zijlstra 2018-11-13 13:23:56 -08:00 committed by Zsolt Dollenstein
parent 158f796ef3
commit fbf59b60d7

View File

@ -2435,7 +2435,7 @@ def append_to_line(leaf: Leaf) -> Iterator[Line]:
nonlocal current_line nonlocal current_line
try: try:
current_line.append_safe(leaf, preformatted=True) current_line.append_safe(leaf, preformatted=True)
except ValueError as ve: except ValueError:
yield current_line yield current_line
current_line = Line(depth=line.depth, inside_brackets=line.inside_brackets) current_line = Line(depth=line.depth, inside_brackets=line.inside_brackets)