aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/dom/formatting
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-08-17 10:16:59 +0200
committerumarcor <unai.martinezcorral@ehu.eus>2021-08-23 16:35:36 +0200
commitc34b020a8c1b6aa5083a637e3e9062c7a71b309a (patch)
treefdfcb1d344e55983f01091be66c6571b9fc782fa /pyGHDL/dom/formatting
parentad58c297680fe0256eacd12249d2131b00ff9b66 (diff)
downloadghdl-c34b020a8c1b6aa5083a637e3e9062c7a71b309a.tar.gz
ghdl-c34b020a8c1b6aa5083a637e3e9062c7a71b309a.tar.bz2
ghdl-c34b020a8c1b6aa5083a637e3e9062c7a71b309a.zip
Some updates.
Diffstat (limited to 'pyGHDL/dom/formatting')
-rw-r--r--pyGHDL/dom/formatting/prettyprint.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pyGHDL/dom/formatting/prettyprint.py b/pyGHDL/dom/formatting/prettyprint.py
index 9917394da..6314d37f2 100644
--- a/pyGHDL/dom/formatting/prettyprint.py
+++ b/pyGHDL/dom/formatting/prettyprint.py
@@ -566,7 +566,9 @@ class PrettyPrint:
)
elif isinstance(item, UseClause):
buffer.append(
- "{prefix}- use {names}".format(prefix=prefix, names=", ".join([str(n) for n in item.Names]))
+ "{prefix}- use {names}".format(
+ prefix=prefix, names=", ".join([str(n) for n in item.Names])
+ )
)
elif isinstance(item, Package):
buffer.append(