proton: Don't assign exception to a variable when the value is not used.

This commit is contained in:
Arkadiusz Hiler 2024-07-26 13:52:45 +03:00
parent 732a1296a1
commit 730acf592b

2
proton
View file

@ -1542,7 +1542,7 @@ class Session:
remote_debug_proc.kill() remote_debug_proc.kill()
try: try:
remote_debug_proc.communicate(2) remote_debug_proc.communicate(2)
except subprocess.TimeoutExpired as e: except subprocess.TimeoutExpired:
log("terminate remote debugger") log("terminate remote debugger")
remote_debug_proc.terminate() remote_debug_proc.terminate()
remote_debug_proc.communicate() remote_debug_proc.communicate()