fhdl/module: use r.append() in _collect_submodules

This commit is contained in:
Florent Kermarrec 2015-03-09 19:45:02 +01:00
parent ee1091f491
commit ebcea3c000
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ class Module:
r = [] r = []
for name, submodule in self._submodules: for name, submodule in self._submodules:
if not submodule._get_fragment_called: if not submodule._get_fragment_called:
r += [(name, submodule.get_fragment())] r.append((name, submodule.get_fragment()))
return r return r
def finalize(self, *args, **kwargs): def finalize(self, *args, **kwargs):