Changeset 5212 for WAeUP_SRP/trunk


Ignore:
Timestamp:
3 Jun 2010, 11:05:21 (14 years ago)
Author:
Henrik Bettermann
Message:

do not change the record if session_ids do not match

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/WAeUPImport.py

    r5206 r5212  
    533533            if mapping.get('session_id','') and not session_in_course_result == mapping.get('session_id',''):
    534534                msg =  "import session_id %s does not match session_id %s in course result" % (mapping['session_id'],session_in_course_result)
     535                break
    535536            self.course_results.modifyRecord(**mapping)
    536537            break
Note: See TracChangeset for help on using the changeset viewer.