Changeset 5206
- Timestamp:
- 26 May 2010, 04:27:02 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/WAeUPImport.py
r5204 r5206 531 531 # (helps to avoid overwriting of course results) 532 532 session_in_course_result = self.course_results.getRecordByKey(key)['session_id'] 533 if not session_in_course_result == mapping['session_id']:533 if mapping.get('session_id','') and not session_in_course_result == mapping.get('session_id',''): 534 534 msg = "import session_id %s does not match session_id %s in course result" % (mapping['session_id'],session_in_course_result) 535 535 self.course_results.modifyRecord(**mapping)
Note: See TracChangeset for help on using the changeset viewer.