diff options
author | umarcor <unai.martinezcorral@ehu.eus> | 2021-08-23 21:20:25 +0200 |
---|---|---|
committer | umarcor <unai.martinezcorral@ehu.eus> | 2021-08-23 21:20:25 +0200 |
commit | a3255c69df60fee697e1ee546052a8abe86fb4ff (patch) | |
tree | 524c352b917e25f61f7c7b1aeec19bf831c41f7f /pyGHDL/dom/_Utils.py | |
parent | 8cf15b9abb3a197857627f55ef28111f9492d9d5 (diff) | |
download | ghdl-a3255c69df60fee697e1ee546052a8abe86fb4ff.tar.gz ghdl-a3255c69df60fee697e1ee546052a8abe86fb4ff.tar.bz2 ghdl-a3255c69df60fee697e1ee546052a8abe86fb4ff.zip |
black: rerun, to pick pyproject settings
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 |