X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/158f796ef3ac0b41d39d8674aa08199d338b30d9..fbf59b60d750ace9792a78736f19a4e81a156333:/black.py diff --git a/black.py b/black.py index 4d85865..9ac16c0 100644 --- a/black.py +++ b/black.py @@ -2435,7 +2435,7 @@ def standalone_comment_split(line: Line, py36: bool = False) -> Iterator[Line]: nonlocal current_line try: current_line.append_safe(leaf, preformatted=True) - except ValueError as ve: + except ValueError: yield current_line current_line = Line(depth=line.depth, inside_brackets=line.inside_brackets)