From 0f94a21b5e298e61008436637360f3da124af25b Mon Sep 17 00:00:00 2001 From: Arkadiusz Hiler Date: Fri, 26 Jul 2024 13:52:45 +0300 Subject: [PATCH] proton: Don't assign exception to a variable when the value is not used. --- proton | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proton b/proton index 16d2b66c..7eb51faa 100755 --- a/proton +++ b/proton @@ -1556,7 +1556,7 @@ class Session: remote_debug_proc.kill() try: remote_debug_proc.communicate(2) - except subprocess.TimeoutExpired as e: + except subprocess.TimeoutExpired: log("terminate remote debugger") remote_debug_proc.terminate() remote_debug_proc.communicate()