Changeset 1119 for WAeUP_SRP/trunk


Ignore:
Timestamp:
21 Dec 2006, 21:14:31 (18 years ago)
Author:
Henrik Bettermann
Message:

csv_d changed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/Students.py

    r1111 r1119  
    7373    except:
    7474        return False
    75        
     75
    7676class StudentsFolder(CPSDocument): ###(
    7777    """
     
    278278                 'score': "Score",
    279279                 'sex': "Sex",
    280                  'course': "Course Code",
     280                 'course': "Course",
    281281                 'faculty': "Faculty",
    282282                 'department': "Dept",
     
    311311        format = ','.join(['"%%(%s)s"' % fn for fn in csv_fields])
    312312        import_format = ','.join(['"%%(%s)s"' % fn for fn in csv_d.keys()])
    313         eduplicate = '"dupplicate",%s' % format
    314         einvalidjamb = '"invalid JambNr",%s' % format
     313        eduplicate = '%s,"duplicate"' % format
     314        einvalidjamb = '%s,"invalid JambRegNo"' % format
    315315        added = 'added ,%s' % format
    316316        #from pdb import set_trace;set_trace()
Note: See TracChangeset for help on using the changeset viewer.