Changeset 3063
- Timestamp:
- 29 Jan 2008, 15:08:20 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/WAeUPTool.py
r3062 r3063 2001 2001 level_review_state = wftool.getInfoFor(level_obj,'review_state',None) 2002 2002 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) 2005 2006 2006 2007 study_course_obj.getContent().edit(mapping = d) … … 2008 2009 if student_review_state != "returning": 2009 2010 wftool.doActionFor(student_obj,'return') 2010 try:2011 wftool.doActionFor(level_obj,'close')2012 except:2013 pass2011 # try: 2012 # wftool.doActionFor(level_obj,'close') 2013 # except: 2014 # pass 2014 2015 return student_id,'' 2015 2016 ###)
Note: See TracChangeset for help on using the changeset viewer.