Merge branch 'bbmaster' of ssh://git.cy55.de/home/git/cybertools into bbmaster
This commit is contained in:
commit
ba2503560a
1 changed files with 3 additions and 1 deletions
|
@ -69,7 +69,9 @@ class FormState(object):
|
|||
|
||||
implements(IFormState)
|
||||
|
||||
def __init__(self, fieldInstances=[], changed=False, severity=0):
|
||||
def __init__(self, fieldInstances=None, changed=False, severity=0):
|
||||
if fieldInstances is None:
|
||||
fieldInstances = []
|
||||
self.fieldInstances = Jeep(fieldInstances)
|
||||
self.changed = changed
|
||||
self.severity = severity
|
||||
|
|
Loading…
Add table
Reference in a new issue