Changeset 2052 for WAeUP_SRP


Ignore:
Timestamp:
24 Jul 2007, 10:59:43 (17 years ago)
Author:
Henrik Bettermann
Message:

ticket #91, comment 07/24/07 12:40:26

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/WAeUPTool.py

    r2009 r2052  
    901901
    902902        # 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"
    905905        # end inclusion
    906906
     
    938938
    939939        # 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'):
    941941                new_state = f2t[pt]['wf_transition_return']
    942942                sub_obj = getattr(student_obj,f2t[pt]['id'],None)
     
    947947                        #logger.info('%s, wf transition %s of %s failed' % (sid,new_state,sub_obj.id))
    948948                        pass
    949         if res[0].review_state == 'admitted':
     949        if res[0].review_state in ('admitted','objection_raised'):
    950950            wfaction = 'return'
    951951            try:
Note: See TracChangeset for help on using the changeset viewer.