From fbc56b6c733266c11935d8c63fd2a4d25e3f6a30 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Thu, 3 Aug 2023 10:23:38 -0700 Subject: [PATCH] athenad: remove duplicate exception clause (#29220) --- selfdrive/athena/athenad.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/selfdrive/athena/athenad.py b/selfdrive/athena/athenad.py index bce8ad4871..780d2ab900 100755 --- a/selfdrive/athena/athenad.py +++ b/selfdrive/athena/athenad.py @@ -821,10 +821,6 @@ def main(exit_event: Optional[threading.Event] = None): except (ConnectionError, TimeoutError, WebSocketException): conn_retries += 1 params.remove("LastAthenaPingTime") - # TODO: socket.timeout and TimeoutError are now the same exception since python3.10 - # Remove the socket.timeout case once we have fully moved to python3.11 - except socket.timeout: # pylint: disable=duplicate-except - params.remove("LastAthenaPingTime") except Exception: cloudlog.exception("athenad.main.exception")