From ebcea3c000ed72a2504a6f5332dcc00009c7e9d8 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 9 Mar 2015 19:45:02 +0100 Subject: [PATCH] fhdl/module: use r.append() in _collect_submodules --- migen/fhdl/module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.30.2