fhdl/module: use r.append() in _collect_submodules
This commit is contained in:
parent
ee1091f491
commit
ebcea3c000
|
@ -145,7 +145,7 @@ class Module:
|
|||
r = []
|
||||
for name, submodule in self._submodules:
|
||||
if not submodule._get_fragment_called:
|
||||
r += [(name, submodule.get_fragment())]
|
||||
r.append((name, submodule.get_fragment()))
|
||||
return r
|
||||
|
||||
def finalize(self, *args, **kwargs):
|
||||
|
|
Loading…
Reference in New Issue