diff options
author | Tristan Gingold <tgingold@free.fr> | 2021-08-06 19:27:01 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2021-08-06 19:27:01 +0200 |
commit | b1eb0b50572ceef9efa19fe00ebdf7b952a49692 (patch) | |
tree | 19400e52fa00a9dc94df501789bfa447a08be2df /pyGHDL/dom | |
parent | 3b80a2e5a9545422e9808f6f3b3f9c4a2421433b (diff) | |
download | ghdl-b1eb0b50572ceef9efa19fe00ebdf7b952a49692.tar.gz ghdl-b1eb0b50572ceef9efa19fe00ebdf7b952a49692.tar.bz2 ghdl-b1eb0b50572ceef9efa19fe00ebdf7b952a49692.zip |
pyGHDL: reformatting
Diffstat (limited to 'pyGHDL/dom')
-rw-r--r-- | pyGHDL/dom/_Translate.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pyGHDL/dom/_Translate.py b/pyGHDL/dom/_Translate.py index d24ac33bc..fc804caf4 100644 --- a/pyGHDL/dom/_Translate.py +++ b/pyGHDL/dom/_Translate.py @@ -176,8 +176,10 @@ def GetAssociations(node: Iir) -> List: for item in utils.chain_iter(nodes.Get_Association_Chain(node)): kind = GetIirKindOfNode(item) - if kind in (nodes.Iir_Kind.Association_Element_By_Expression, - nodes.Iir_Kind.Association_Element_By_Name): + if kind in ( + nodes.Iir_Kind.Association_Element_By_Expression, + nodes.Iir_Kind.Association_Element_By_Name, + ): actual = nodes.Get_Actual(item) expr = GetExpressionFromNode(actual) |