From 730acf592b003ceb9a169f3a7c563c4ecc84b84d 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 783ec7a9..36742646 100755 --- a/proton +++ b/proton @@ -1542,7 +1542,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()