Ignore:
Timestamp:
8 Nov 2012, 22:14:13 (12 years ago)
Author:
Henrik Bettermann
Message:

Fix test_student_expired_personal_data.

Mangle exam results for export.

File:
1 edited

Legend:

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

    r8926 r9582  
    3333        IApplicantBaseData.names()
    3434        ))) + ('container_code',)
     35
     36    def mangle_value(self, value, name, context=None):
     37        if '_result' in name and value:
     38            value = [eval(entry.to_string()) for entry in value]
     39        return super(
     40            NigeriaApplicantsExporter, self).mangle_value(
     41            value, name, context=context)
Note: See TracChangeset for help on using the changeset viewer.