Changeset 5232 for WAeUP_SRP/trunk
- Timestamp:
- 24 Jun 2010, 16:32:19 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/WAeUPImport.py
r5212 r5232 1144 1144 msg = "no valid transition provided" 1145 1145 break 1146 if transition: 1147 #import pdb;pdb.set_trace() 1148 try: 1149 self.portal_workflow.doActionFor(student_obj,transition) 1150 except: 1151 msg = "reg_transition not allowed" 1152 break 1153 elif change_reg_state: 1154 msg = self.waeup_tool.changeStudentState(student_obj, change_reg_state) 1155 if msg: 1156 break 1157 1146 1158 while d['session'] and d['verdict'] and current_level: 1147 1159 sub_obj = getattr(student_obj,'study_course',None) … … 1193 1205 except: 1194 1206 pass 1195 if transition:1196 #import pdb;pdb.set_trace()1197 try:1198 self.portal_workflow.doActionFor(student_obj,transition)1199 except:1200 msg = "reg_transition not allowed"1201 elif change_reg_state:1202 msg = self.waeup_tool.changeStudentState(student_obj, change_reg_state)1203 1207 1204 1208 if password:
Note: See TracChangeset for help on using the changeset viewer.