mibuild/generic_platform: fix default value for connectors

This commit is contained in:
Sebastien Bourdeauducq 2014-02-17 17:40:15 +01:00
parent c98b9ecbcb
commit bf6ab2b4f6

View file

@ -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