Changeset 2052
- Timestamp:
- 24 Jul 2007, 10:59:43 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/WAeUPTool.py
r2009 r2052 901 901 902 902 # included only to change wf state from admitted to returning 903 if res[0].review_state != 'admitted':904 return '%s' % res[0].id ,"student is not in state admitted "903 if res[0].review_state not in ('admitted','objection_raised'): 904 return '%s' % res[0].id ,"student is not in state admitted or objection_raised" 905 905 # end inclusion 906 906 … … 938 938 939 939 # included only to change wf state from admitted to returning 940 if res[0].review_state == 'admitted':940 if res[0].review_state in ('admitted','objection_raised'): 941 941 new_state = f2t[pt]['wf_transition_return'] 942 942 sub_obj = getattr(student_obj,f2t[pt]['id'],None) … … 947 947 #logger.info('%s, wf transition %s of %s failed' % (sid,new_state,sub_obj.id)) 948 948 pass 949 if res[0].review_state == 'admitted':949 if res[0].review_state in ('admitted','objection_raised'): 950 950 wfaction = 'return' 951 951 try:
Note: See TracChangeset for help on using the changeset viewer.