From b0b0380ea7564ab15e8de624afb5d3ad6992e3c0 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 16 Jun 2012 22:39:31 +0200 Subject: [PATCH] flow/network: fix ActorNode default params --- migen/flow/network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2