Changeset 3777 for WAeUP_SRP/trunk


Ignore:
Timestamp:
19 Nov 2008, 12:47:01 (16 years ago)
Author:
Henrik Bettermann
Message:

levels.xml: resolve #584

Location:
WAeUP_SRP/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/uniben/vocabularies/levels.xml

    r3698 r3777  
    1313 <item key="500" msgid="">Year 5 (500 Level)</item>
    1414 <item key="600" msgid="">Year 6 (600 Level)</item>
     15 <item key="600" msgid="">Year 7 (700 Level)</item>
    1516</object>
  • WAeUP_SRP/trunk/skins/waeup_utilities/ti_507_resolve.py

    r3376 r3777  
    5858        if current_mode != study_mode:
    5959            w_count =  wrong_modes.get((current_mode,study_mode),0)
    60             if w_count == 0:
    61                 logger.info('%s != %s' % (student.mode,
    62                                           study_mode))
     60            #if w_count == 0:
     61            #    logger.info('%s != %s' % (student.mode,
     62            #                              study_mode))
    6363            w_count += 1
    6464            wrong_modes[(current_mode,study_mode)] = w_count
     
    6868            d['current_mode_old'] = current_mode
    6969            wrong[student.id] = d
     70            if (student.mode,study_mode) not in (('ume_ft', 'ug_ft'),('de_pt', 'ug_pt'),('de_ft', 'ug_ft')):
     71                logger.info("; %(student_id)s;  %(current_mode_old)s ; %(current_mode)s" % d)
    7072    # if wrong and not (len(wrong) % commit_after):
    7173    #     logger.info('found %d wrong of %d' % (len(wrong),count))
     
    7577logger.info('found %d wrong of %d' % (len(wrong),count))
    7678count = 0
     79
     80return
     81
    7782for student_id,d in wrong.items():
    7883    #set_trace()
Note: See TracChangeset for help on using the changeset viewer.