Changeset 14010


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

Use defaultFactory.

Location:
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria
Files:
2 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
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/interfaces.py

    r13734 r14010  
    146146        required = False,
    147147        readonly = False,
    148         default = [],
     148        defaultFactory=list,
    149149        )
    150150
     
    179179        required = False,
    180180        readonly = False,
    181         default = [],
     181        defaultFactory=list,
    182182        )
    183183
     
    205205        required = False,
    206206        readonly = False,
    207         default = [],
     207        defaultFactory=list,
    208208        )
    209209
Note: See TracChangeset for help on using the changeset viewer.