From ad58c297680fe0256eacd12249d2131b00ff9b66 Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Tue, 17 Aug 2021 00:51:37 +0200 Subject: Fixed pretty printer after model fix. --- pyGHDL/dom/formatting/prettyprint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyGHDL/dom/formatting') 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( -- cgit v1.2.3