aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/lsp/lsp.py
diff options
context:
space:
mode:
authorumarcor <unai.martinezcorral@ehu.eus>2021-08-23 21:20:25 +0200
committerumarcor <unai.martinezcorral@ehu.eus>2021-08-23 21:20:25 +0200
commita3255c69df60fee697e1ee546052a8abe86fb4ff (patch)
tree524c352b917e25f61f7c7b1aeec19bf831c41f7f /pyGHDL/lsp/lsp.py
parent8cf15b9abb3a197857627f55ef28111f9492d9d5 (diff)
downloadghdl-a3255c69df60fee697e1ee546052a8abe86fb4ff.tar.gz
ghdl-a3255c69df60fee697e1ee546052a8abe86fb4ff.tar.bz2
ghdl-a3255c69df60fee697e1ee546052a8abe86fb4ff.zip
black: rerun, to pick pyproject settings
Diffstat (limited to 'pyGHDL/lsp/lsp.py')
-rw-r--r--pyGHDL/lsp/lsp.py11
1 files changed, 4 insertions, 7 deletions
diff --git a/pyGHDL/lsp/lsp.py b/pyGHDL/lsp/lsp.py
index 49c5502e3..04d2c24ce 100644
--- a/pyGHDL/lsp/lsp.py
+++ b/pyGHDL/lsp/lsp.py
@@ -122,15 +122,12 @@ class LanguageProtocolServer(object):
try:
response = fmethod(**params)
except Exception:
- log.exception(
- "Caught exception while handling %s with params %s:", method, params
- )
+ log.exception("Caught exception while handling %s with params %s:", method, params)
self.show_message(
MessageType.Error,
- (
- "Caught exception while handling {}, "
- + "see VHDL language server output for details."
- ).format(method),
+ ("Caught exception while handling {}, " + "see VHDL language server output for details.").format(
+ method
+ ),
)
response = None
if tid is None: