Ignore:
Timestamp:
20 Mar 2008, 16:20:15 (17 years ago)
Author:
joachim
Message:

fix for #112 okene, make create level more errortolerant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_student/create_level.py

    r3074 r3362  
    176176
    177177if records:
    178     context.course_results.addMultipleRecords(records)
     178    existing_uids = context.course_results.addMultipleRecords(records)
     179    if existing_uids:
     180        logger.info('%s level %s %s existing keys' % (student.id,
     181                                                      current_level,
     182                                                     ",".join(existing_uids)))
     183       
    179184logger.info('%s finished to create level %s' % (student.id,current_level))
    180185
Note: See TracChangeset for help on using the changeset viewer.