From: Jelle Zijlstra Date: Tue, 13 Nov 2018 21:23:56 +0000 (-0800) Subject: remove unused variable (#604) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/fbf59b60d750ace9792a78736f19a4e81a156333?ds=sidebyside;hp=158f796ef3ac0b41d39d8674aa08199d338b30d9 remove unused variable (#604) --- 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)