fhdl: fix += for empty fragment

This commit is contained in:
Sebastien Bourdeauducq 2011-12-10 20:47:06 +01:00
parent a49ecc4331
commit 4b15a84505
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ class Instance:
return id(self) return id(self)
class Fragment: class Fragment:
def __init__(self, comb=StatementList(), sync=StatementList(), instances=[], pads=set()): def __init__(self, comb=[], sync=[], instances=[], pads=set()):
self.comb = _sl(comb) self.comb = _sl(comb)
self.sync = _sl(sync) self.sync = _sl(sync)
self.instances = instances self.instances = instances