diff options
author | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2021-08-17 00:51:37 +0200 |
---|---|---|
committer | umarcor <unai.martinezcorral@ehu.eus> | 2021-08-23 16:35:36 +0200 |
commit | ad58c297680fe0256eacd12249d2131b00ff9b66 (patch) | |
tree | c370c3f04802728a8bdd32d0ca79de50c0acf0ad /pyGHDL/dom | |
parent | 597bc9928352ba187bdb0a707332a5f7a0a28e1a (diff) | |
download | ghdl-ad58c297680fe0256eacd12249d2131b00ff9b66.tar.gz ghdl-ad58c297680fe0256eacd12249d2131b00ff9b66.tar.bz2 ghdl-ad58c297680fe0256eacd12249d2131b00ff9b66.zip |
Fixed pretty printer after model fix.
Diffstat (limited to 'pyGHDL/dom')
-rw-r--r-- | pyGHDL/dom/formatting/prettyprint.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyGHDL/dom/formatting/prettyprint.py b/pyGHDL/dom/formatting/prettyprint.py index bfb91f3da..9917394da 100644 --- a/pyGHDL/dom/formatting/prettyprint.py +++ b/pyGHDL/dom/formatting/prettyprint.py @@ -566,7 +566,7 @@ class PrettyPrint: ) elif isinstance(item, UseClause): buffer.append( - "{prefix}- use {name!s}".format(prefix=prefix, name=item.Item) + "{prefix}- use {names}".format(prefix=prefix, names=", ".join([str(n) for n in item.Names])) ) elif isinstance(item, Package): buffer.append( |