Ignore:
Timestamp:
3 Jul 2016, 03:38:09 (8 years ago)
Author:
Henrik Bettermann
Message:

Use defaultFactory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/applicants/interfaces.py

    r14003 r14010  
    309309        title = _(u'JAMB Subjects'),
    310310        required = False,
    311         default = [],
     311        defaultFactory=list,
    312312        value_type = schema.Choice(
    313313            vocabulary = jambsubjects
     
    470470        required = False,
    471471        readonly = False,
    472         default = [],
     472        defaultFactory=list,
    473473        )
    474474    scd_sit_fname = schema.TextLine(
     
    499499        required = False,
    500500        readonly = False,
    501         default = [],
     501        defaultFactory=list,
    502502        )
    503503    # Replaced by first and second sitting
Note: See TracChangeset for help on using the changeset viewer.