Changeset 3777 for WAeUP_SRP/trunk
- Timestamp:
- 19 Nov 2008, 12:47:01 (16 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/uniben/vocabularies/levels.xml
r3698 r3777 13 13 <item key="500" msgid="">Year 5 (500 Level)</item> 14 14 <item key="600" msgid="">Year 6 (600 Level)</item> 15 <item key="600" msgid="">Year 7 (700 Level)</item> 15 16 </object> -
WAeUP_SRP/trunk/skins/waeup_utilities/ti_507_resolve.py
r3376 r3777 58 58 if current_mode != study_mode: 59 59 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)) 63 63 w_count += 1 64 64 wrong_modes[(current_mode,study_mode)] = w_count … … 68 68 d['current_mode_old'] = current_mode 69 69 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) 70 72 # if wrong and not (len(wrong) % commit_after): 71 73 # logger.info('found %d wrong of %d' % (len(wrong),count)) … … 75 77 logger.info('found %d wrong of %d' % (len(wrong),count)) 76 78 count = 0 79 80 return 81 77 82 for student_id,d in wrong.items(): 78 83 #set_trace()
Note: See TracChangeset for help on using the changeset viewer.