Changeset 1911
- Timestamp:
- 17 Jun 2007, 05:26:26 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/WAeUPTool.py
r1910 r1911 923 923 new_state = f2t[pt]['wf_transition_returning'] 924 924 sub_obj = getattr(student_obj,f2t[pt]['id'],None) 925 if new_state != "remain":925 if sub_obj and new_state != "remain": 926 926 try: 927 927 self.portal_workflow.doActionFor(sub_obj,new_state,dest_container=sub_obj) 928 928 except: 929 logger.info('%s, wf transition %s of %s failed' % (sid,new_state,sub_obj.id))929 #logger.info('%s, wf transition %s of %s failed' % (sid,new_state,sub_obj.id)) 930 930 pass 931 931 wfaction = 'return' … … 935 935 any_change = True 936 936 except: 937 logger.info('%s, wf transition failed ' % sid)937 logger.info('%s, wf transition failed, old state = %s' % (sid,res[0].review_state)) 938 938 pass 939 939 # end inclusion
Note: See TracChangeset for help on using the changeset viewer.