Skip to content

Commit

Permalink
fhdl/module: use r.append() in _collect_submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-digital committed Mar 9, 2015
1 parent ee1091f commit ebcea3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migen/fhdl/module.py
Expand Up @@ -145,7 +145,7 @@ def _collect_submodules(self):
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):
Expand Down

0 comments on commit ebcea3c

Please sign in to comment.