From: Sebastien Bourdeauducq Date: Sat, 16 Jun 2012 20:39:31 +0000 (+0200) Subject: flow/network: fix ActorNode default params X-Git-Tag: 24jan2021_ls180~2099^2~912 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b0b0380ea7564ab15e8de624afb5d3ad6992e3c0;p=litex.git flow/network: fix ActorNode default params --- diff --git a/migen/flow/network.py b/migen/flow/network.py index 6bf21a00..25d55d1b 100644 --- a/migen/flow/network.py +++ b/migen/flow/network.py @@ -12,7 +12,7 @@ from migen.corelogic.misc import optree # This form is needed to enable actor duplication or sharing during elaboration. class ActorNode: - def __init__(self, actor_class, parameters=None): + def __init__(self, actor_class, parameters=dict()): if isinstance(actor_class, type): self.actor_class = actor_class self.parameters = parameters