diff options
Diffstat (limited to 'pyGHDL/dom/_Utils.py')
-rw-r--r-- | pyGHDL/dom/_Utils.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/pyGHDL/dom/_Utils.py b/pyGHDL/dom/_Utils.py index dbb39f43d..8fcfd7667 100644 --- a/pyGHDL/dom/_Utils.py +++ b/pyGHDL/dom/_Utils.py @@ -63,14 +63,10 @@ def CheckForErrors() -> None: message = errorout_memory.Get_Error_Message(i + 1) errors.append( - "{file}:{line}:{column}: {msg}".format( - file=fileName, line=rec.line, column=rec.offset, msg=message - ) + "{file}:{line}:{column}: {msg}".format(file=fileName, line=rec.line, column=rec.offset, msg=message) ) - raise DOMException("Error raised in libghdl.") from LibGHDLException( - "libghdl: Internal error.", errors - ) + raise DOMException("Error raised in libghdl.") from LibGHDLException("libghdl: Internal error.", errors) @export |