From: Florent Kermarrec Date: Mon, 9 Mar 2015 18:45:02 +0000 (+0100) Subject: fhdl/module: use r.append() in _collect_submodules X-Git-Tag: 24jan2021_ls180~2099^2~201 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ebcea3c000ed72a2504a6f5332dcc00009c7e9d8;p=litex.git fhdl/module: use r.append() in _collect_submodules --- diff --git a/migen/fhdl/module.py b/migen/fhdl/module.py index 4d91693d..bb29fc6f 100644 --- 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):