Changeset 14018


Ignore:
Timestamp:
7 Jul 2016, 06:43:38 (8 years ago)
Author:
Henrik Bettermann
Message:

Use defaultFactory.

Location:
main/waeup.fceokene/trunk/src/waeup/fceokene
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/interfaces.py

    r13884 r14018  
    226226        required = False,
    227227        readonly = False,
    228         default = [],
     228        defaultFactory=list,
    229229        )
    230230    olevel_type2 = schema.Choice(
     
    255255        required = False,
    256256        readonly = False,
    257         default = [],
     257        defaultFactory=list,
    258258        )
    259259    hq_type = schema.Choice(
  • main/waeup.fceokene/trunk/src/waeup/fceokene/students/interfaces.py

    r13738 r14018  
    121121        required = False,
    122122        readonly = False,
    123         default = [],
     123        defaultFactory=list,
    124124        )
    125125
     
    154154        required = False,
    155155        readonly = False,
    156         default = [],
     156        defaultFactory=list,
    157157        )
    158158
     
    181181    #    required = False,
    182182    #    readonly = False,
    183     #    default = [],
     183    #    defaultFactory=list,
    184184    #    )
    185185
Note: See TracChangeset for help on using the changeset viewer.