Changeset 3330 for WAeUP_SRP/base
- Timestamp:
- 14 Mar 2008, 09:31:14 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/WAeUPImport.py
r3327 r3330 446 446 code = mapping['code'] 447 447 mapping['key'] = key = "%(student_id)s|%(level_id)s|%(code)s" % vars() 448 break 449 try: 448 if self.course_results.getRecordByKey(key) is None: 449 msg = "no course result with key %(key)s" % vars() 450 break 450 451 self.course_results.modifyRecord(**mapping) 451 except KeyError: 452 msg = "no course result with key %s" % key 452 break 453 453 return key,msg,mapping 454 454 ###)
Note: See TracChangeset for help on using the changeset viewer.