Changeset 3063


Ignore:
Timestamp:
29 Jan 2008, 15:08:20 (17 years ago)
Author:
joachim
Message:

fix for #75 fceokene

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/WAeUPTool.py

    r3062 r3063  
    20012001        level_review_state = wftool.getInfoFor(level_obj,'review_state',None)
    20022002        if level_review_state != "closed":
    2003             return '','student %s: level %s is not closed' % (student_id,
    2004                                                                  current_level)
     2003            wftool.doActionFor(level_obj,'close')
     2004            # return '','student %s: level %s is not closed' % (student_id,
     2005            #                                                      current_level)
    20052006
    20062007        study_course_obj.getContent().edit(mapping = d)
     
    20082009        if student_review_state != "returning":
    20092010            wftool.doActionFor(student_obj,'return')
    2010         try:
    2011             wftool.doActionFor(level_obj,'close')
    2012         except:
    2013             pass
     2011        # try:
     2012        #     wftool.doActionFor(level_obj,'close')
     2013        # except:
     2014        #     pass
    20142015        return student_id,''
    20152016    ###)
Note: See TracChangeset for help on using the changeset viewer.