Skip to content

Commit ebcea3c

Browse files
committedMar 9, 2015
fhdl/module: use r.append() in _collect_submodules
1 parent ee1091f commit ebcea3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎migen/fhdl/module.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def _collect_submodules(self):
145145
r = []
146146
for name, submodule in self._submodules:
147147
if not submodule._get_fragment_called:
148-
r += [(name, submodule.get_fragment())]
148+
r.append((name, submodule.get_fragment()))
149149
return r
150150

151151
def finalize(self, *args, **kwargs):

0 commit comments

Comments
 (0)