Changeset 1484


Ignore:
Timestamp:
24 Feb 2007, 06:24:08 (18 years ago)
Author:
Henrik Bettermann
Message:

fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_utilities/fixLevelForNewStudents.py

    r1473 r1484  
    4343count = 0
    4444for sbrain in res:
     45    student_obj = getattr(students,sbrain.id)
    4546    if sbrain.entry_mode == "":
    46         student_obj = getattr(students,sbrain.id)
    4747        if not student_obj.hasObject('application'):
    4848            rwrite("%s %s %s application not found <br />" % (sbrain.id,sbrain.entry_mode,level))
     
    6363        continue
    6464    student_obj.study_course.getContent().edit(mapping={'current_level': level,
    65                                                                        'current_verdict': 'na'})
     65                                                                       'current_verdict': 'N/A'})
    6666    count += 1
    6767    rwrite("%s: %s %s %s <br />" % (count,sbrain.id,entry_mode,level))
     68
Note: See TracChangeset for help on using the changeset viewer.