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

Use defaultFactory.

Export bank account data.

Location:
main/waeup.uniben/trunk/src/waeup/uniben/applicants
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/applicants/export.py

    r13984 r14020  
    2323from kofacustom.nigeria.applicants.export import NigeriaApplicantExporter
    2424from kofacustom.nigeria.applicants.interfaces import (
    25     INigeriaUGApplicant, INigeriaPGApplicant)
     25    INigeriaUGApplicant, INigeriaPGApplicant, IBankAccount)
    2626from waeup.uniben.applicants.interfaces import IUnibenRegistration
    2727
     
    3434        iface_names(INigeriaPGApplicant) +
    3535        iface_names(IApplicantBaseData) +
    36         iface_names(IUnibenRegistration)
     36        iface_names(IUnibenRegistration) +
     37        iface_names(IBankAccount)
    3738        ))) + (
    3839        'password', 'state', 'history', 'container_code', 'application_number',
  • main/waeup.uniben/trunk/src/waeup/uniben/applicants/interfaces.py

    r13831 r14020  
    166166        value_type = schema.Choice(source=RegTypesSource()),
    167167        required = True,
    168         default = [],
     168        defaultFactory=list,
    169169        )
    170170
Note: See TracChangeset for help on using the changeset viewer.