From bf6ab2b4f67382661fa183d01b7443c2aeb2cadd Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 17 Feb 2014 17:40:15 +0100 Subject: [PATCH] mibuild/generic_platform: fix default value for connectors --- mibuild/generic_platform.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mibuild/generic_platform.py b/mibuild/generic_platform.py index e6bb3c35..d51ab63a 100644 --- a/mibuild/generic_platform.py +++ b/mibuild/generic_platform.py @@ -169,7 +169,7 @@ class ConstraintManager: return self.platform_commands class GenericPlatform: - def __init__(self, device, io, default_crg_factory=None, connectors=None, name=None): + def __init__(self, device, io, default_crg_factory=None, connectors=[], name=None): self.device = device self.constraint_manager = ConstraintManager(io, connectors) self.default_crg_factory = default_crg_factory -- 2.30.2