Changeset 5456
- Timestamp:
- 19 Aug 2010, 11:52:19 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/WAeUPImport.py
r5232 r5456 280 280 reg_no = mapping.get('reg_no') 281 281 status = mapping.get('status') 282 msg = '' 283 while True: 284 res = self.applicants_catalog(reg_no = reg_no) 282 jamb_reg_no = mapping.get('jamb_reg_no') 283 msg = '' 284 while True: 285 if jamb_reg_no: 286 res = self.applicants_catalog(jamb_reg_no = jamb_reg_no.upper()) 287 if not len(res): 288 res = self.applicants_catalog(jamb_reg_no = jamb_reg_no.lower()) 289 if not len(res): 290 msg = "applicant record with jamb_reg_no %s does not exist" % jamb_reg_no 291 break 292 else: 293 res = self.applicants_catalog(reg_no = reg_no) 285 294 if len(res): 286 295 if res[0].status == 'created' and status != 'created':
Note: See TracChangeset for help on using the changeset viewer.