From 51e9764f04da876993a80f6f09910e019eb84446 Mon Sep 17 00:00:00 2001 From: umarcor Date: Tue, 22 Jun 2021 12:26:43 +0200 Subject: fix issues reported by Codacy --- pyGHDL/lsp/lsp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyGHDL/lsp/lsp.py') diff --git a/pyGHDL/lsp/lsp.py b/pyGHDL/lsp/lsp.py index a2598f186..43b8c47c8 100644 --- a/pyGHDL/lsp/lsp.py +++ b/pyGHDL/lsp/lsp.py @@ -117,7 +117,7 @@ class LanguageProtocolServer(object): params = {} try: response = fmethod(**params) - except Exception as e: + except Exception: log.exception( "Caught exception while handling %s with params %s:", method, params ) -- cgit v1.2.3