Changeset 964 for WAeUP_SRP/trunk


Ignore:
Timestamp:
28 Nov 2006, 17:41:59 (18 years ago)
Author:
joachim
Message:

set pume_tot_score correctly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/Students.py

    r961 r964  
    371371                         'pume_tot_score',
    372372                         )
    373             dp['pume_tot_score'] = jamb.get(csv_d[f]) or "No Option Shaded"
     373            dp['pume_tot_score'] = jamb.get(csv_d['pume_tot_score']) or "No Option Shaded"
    374374            pume = student.pume
    375375            pume.getContent().edit(mapping=dp)
    376376            #wftool.doActionFor(pume,'close')
    377377            pume.manage_setLocalRoles(sid, ['Owner',])
    378             #
    379             # Study Course
    380             #
     378            student.getContent().createSubObjects()
    381379            if jamb.get(csv_d['stud_status']) == "Admitted":
    382380                wftool.doActionFor(student,'pume_pass')
     
    386384                wftool.doActionFor(student,'reject_admission')
    387385                continue
     386            #
     387            # Study Course
     388            #
    388389            student.invokeFactory('StudentStudyCourse','study_course')
    389390            study_course = student.study_course
     
    406407            dsc['entry_session'] = "2006/2007" #jamb.get(csv_d['session'])
    407408            study_course.getContent().edit(mapping=dsc)
    408             student.getContent().createSubObjects()
    409409            if tr_count > MAX_TRANS:
    410410                em = '%d transactions commited\n' % tr_count
Note: See TracChangeset for help on using the changeset viewer.