From a3b1311bef4f9cb66d7e8dc234a0c99f8e923145 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sat, 29 Apr 2023 17:27:41 +0200 Subject: pyGHDL: reformatting --- pyGHDL/lsp/document.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pyGHDL/lsp/document.py b/pyGHDL/lsp/document.py index cc8ca2226..487e6d2b5 100644 --- a/pyGHDL/lsp/document.py +++ b/pyGHDL/lsp/document.py @@ -132,7 +132,7 @@ class Document(object): def add_to_library(tree, library): # Set the target library if library is None: - library = 'work' + library = "work" libraries.Work_Library_Name.value = name_table.Get_Identifier(library) libraries.Load_Work_Library(False) # Detach the chain of units. @@ -160,8 +160,7 @@ class Document(object): if tree == nodes.Null_Iir: return self._tree = Document.add_to_library(tree, self.library) - log.debug("add_to_library(%u, '%s') -> %u", - tree, self.library, self._tree) + log.debug("add_to_library(%u, '%s') -> %u", tree, self.library, self._tree) if self._tree == nodes.Null_Iir: return nodes.Set_Design_File_Source(self._tree, self._fe) -- cgit v1.2.3