projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee1091f
)
fhdl/module: use r.append() in _collect_submodules
author
Florent Kermarrec
<florent@enjoy-digital.fr>
Mon, 9 Mar 2015 18:45:02 +0000
(19:45 +0100)
committer
Florent Kermarrec
<florent@enjoy-digital.fr>
Mon, 9 Mar 2015 18:45:02 +0000
(19:45 +0100)
migen/fhdl/module.py
patch
|
blob
|
history
diff --git
a/migen/fhdl/module.py
b/migen/fhdl/module.py
index 4d91693d09cef6e5e59041fee2ac66993d091b23..bb29fc6f004e02234c5a852542641c864bc1166c 100644
(file)
--- a/
migen/fhdl/module.py
+++ b/
migen/fhdl/module.py
@@
-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):