Changeset 1905 for WAeUP_SRP/trunk
- Timestamp:
- 16 Jun 2007, 08:04:27 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/WAeUPTool.py
r1904 r1905 919 919 sub_doc.edit(mapping = d) 920 920 921 922 # included only to change wf state from admitted to returning 923 new_state = f2t[pt]['wf_transition_returning'] 924 if new_state != "remain": 925 try: 926 self.portal_workflow.doActionFor(sub_obj,new_state,dest_container=sub_obj) 927 except: 928 pass 921 929 wfaction = 'return' 922 try: 930 try: 923 931 self.portal_workflow.doActionFor(student_obj,wfaction) 924 932 logger.info('%s, wf state changed' % sid) … … 926 934 except: 927 935 pass 936 # end inclusion 937 928 938 929 939 if any_change: … … 932 942 return sid,'not modified' 933 943 ###) 934 935 944 945 936 946 security.declareProtected(ModifyPortalContent,"importData")###( 937 947 def importData(self,filename,name,edit=False):
Note: See TracChangeset for help on using the changeset viewer.