Skip to content

Commit

Permalink
pyGHDL: reformatting
Browse files Browse the repository at this point in the history
  • Loading branch information
tgingold committed Aug 6, 2021
1 parent 3b80a2e commit b1eb0b5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pyGHDL/dom/_Translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit b1eb0b5

Please sign in to comment.