Changeset 3146
- Timestamp:
- 12 Feb 2008, 10:35:28 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/Students.py
r2923 r3146 176 176 total_not_imported += 1 177 177 continue 178 if res.review_state in ('courses_registered','courses_validated'): 179 em = 'already registered course list' 180 logger.info('%s (%s) %s' % (student_brain.id, old_matric_no, em)) 181 result['Error'] = em 182 not_imported.append( format_error % result) 183 total_not_imported += 1 184 continue 178 185 student_brain = res[0] 179 186 student_object = getattr(students_folder,student_brain.id) … … 229 236 except: 230 237 pass 231 if study_course.objectIds(): 232 em = 'Already registered level %s for %s, but is supposed to study %s at level %s' % (old_current_level,old_study_course,new_study_course,current_level) 233 logger.info('%s (%s) %s' % (student_brain.id, old_matric_no, em)) 234 result['Error'] = em 235 not_imported.append( format_error % result) 236 total_not_imported += 1 237 continue 238 238 239 #from pdb import set_trace; set_trace() 239 240 cd = {}
Note: See TracChangeset for help on using the changeset viewer.