Changeset 5204 for WAeUP_SRP/trunk/WAeUPImport.py
- Timestamp:
- 24 May 2010, 07:19:15 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/WAeUPImport.py
r5196 r5204 528 528 msg = "no course result with key %(key)s" % vars() 529 529 break 530 # don't overwrite session id but check if session ids match 531 # (helps to avoid overwriting of course results) 532 session_in_course_result = self.course_results.getRecordByKey(key)['session_id'] 533 if not session_in_course_result == mapping['session_id']: 534 msg = "import session_id %s does not match session_id %s in course result" % (mapping['session_id'],session_in_course_result) 530 535 self.course_results.modifyRecord(**mapping) 531 536 break
Note: See TracChangeset for help on using the changeset viewer.