Changeset 3431 for WAeUP_SRP/base
- Timestamp:
- 8 Apr 2008, 15:51:10 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/WAeUPImport.py
r3404 r3431 459 459 self._v_level_created += level_ident, 460 460 mapping['key'] = key = "%(student_id)s|%(level_id)s|%(code)s" % vars() 461 #overwrite semester and credits in create mode 461 462 for k in ('semester','credits',): 462 463 mapping[k] = getattr(self._v_courses[course_id],k) … … 483 484 level_id = mapping.get('level_id','') 484 485 code = mapping.get('code','') 485 code = mapping['code']486 #code = mapping['code'] 486 487 mapping['key'] = key = "%(student_id)s|%(level_id)s|%(code)s" % vars() 487 488 if self.course_results.getRecordByKey(key) is None: … … 855 856 if res: 856 857 msg = "jamb_reg_no already assigned to student %s" % res[0].id 857 break 858 break 858 859 msg = "old jamb_reg_no %s overwritten with %s" % (student_record.jamb_reg_no,jamb_reg_no) 859 860 #logger.info("%s, old reg_no %s overwritten with %s" % (student_record.id,student_record.jamb_reg_no,jamb_reg_no))
Note: See TracChangeset for help on using the changeset viewer.