From fbf59b60d750ace9792a78736f19a4e81a156333 Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Tue, 13 Nov 2018 13:23:56 -0800 Subject: [PATCH] remove unused variable (#604) --- black.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2