mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Use "using" instead of "gtk" and "import"
- Having one keyword for both is less syntax to remember - I might use "include" as a keyword in the future, which would make "import" confusing, so use "using" instead
This commit is contained in:
parent
78a9481631
commit
b3c28ce3d4
5 changed files with 27 additions and 13 deletions
|
@ -18,7 +18,7 @@
|
|||
# SPDX-License-Identifier: LGPL-3.0-or-later
|
||||
|
||||
|
||||
import json, sys
|
||||
import json, sys, traceback
|
||||
|
||||
from .errors import PrintableError, CompileError, MultipleErrors
|
||||
from .lsp_enums import *
|
||||
|
@ -61,7 +61,7 @@ class LanguageServer:
|
|||
if method in self.commands:
|
||||
self.commands[method](self, id, params)
|
||||
except Exception as e:
|
||||
self._log(e)
|
||||
self._log(traceback.format_exc())
|
||||
|
||||
|
||||
def _send(self, data):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue